/[base]
ViewVC logotype

Revision 364083


Jump to revision: Previous Next
Author: markj
Date: Mon Aug 10 17:01:59 2020 UTC (3 years, 10 months ago)
Changed paths: 2
Log Message:
fortune, strfile: Improve validation of command-line arguments.

- Avoid potential overflow when parsing a percentage.
- Avoid truncation when copying file paths.

PR:		246050
Submitted by:	Akos Somfai <akos.somfai@gmail.com> (original)
MFC after:	1 week


Changed paths

Path Details
Directoryhead/usr.bin/fortune/fortune/fortune.c modified , text changed
Directoryhead/usr.bin/fortune/strfile/strfile.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27