Module Name:    src
Committed By:   rillig
Date:           Thu Mar 14 21:17:54 UTC 2024

Modified Files:
        src/usr.bin/stat: stat.c

Log Message:
stat: don't allow numeric formatting flags on strings

Calling snprintf with "%+s" invokes undefined behavior.

To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/stat/
cvs rdiff -u -r1.52 -r1.53 src/usr.bin/stat/stat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to