Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/usr.bin/tr



Module Name:    src
Committed By:   martin
Date:           Wed Jun  6 15:13:00 UTC 2018

Modified Files:
        src/usr.bin/tr [netbsd-7]: str.c

Log Message:
Pull up following revision(s) (requested by leot in ticket #1609):

        usr.bin/tr/str.c: revision 1.30

Do not accept invalid octal character values (>= 0400).

This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or
similars lead to them).

Reviewed and thanks to <pgoyette>!


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.4.1 src/usr.bin/tr/str.c

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




Home | Main Index | Thread Index | Old Index