Source-Changes archive

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

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



Module Name:    src
Committed By:   martin
Date:           Fri Jun  8 10:02:59 UTC 2018

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

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

        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.18.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