Module Name: src Committed By: rillig Date: Sat Jun 10 17:35:41 UTC 2023
Modified Files: src/tests/usr.bin/indent: opt_cli.c psym_else.c t_errors.sh src/usr.bin/indent: parse.c Log Message: indent: fix stack overflow, add more tests For several parser symbols, 2 symbols are pushed in a row, which led to an out-of-bounds write. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/indent/opt_cli.c cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/indent/psym_else.c cvs rdiff -u -r1.34 -r1.35 src/tests/usr.bin/indent/t_errors.sh cvs rdiff -u -r1.71 -r1.72 src/usr.bin/indent/parse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.