Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/tr
Module Name: src
Committed By: leot
Date: Sat May 26 11:20:31 UTC 2018
Modified Files:
src/usr.bin/tr: str.c
Log Message:
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.30 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