Module Name: src Committed By: rillig Date: Sat Oct 30 11:10:36 UTC 2021
Modified Files: src/usr.bin/indent: indent.c Log Message: indent: don't risk a buffer overflow in code_add_decl_indent The buffers have a safety margin of 5 characters, so the bounds check is not strictly necessary. It makes the code more uniform though. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/usr.bin/indent/indent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.