freebsd-dev/usr.bin/fortune/strfile
Mark Johnston 777c9f5a38 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
2020-08-10 17:01:59 +00:00
..
Makefile
Makefile.depend
strfile.8
strfile.c fortune, strfile: Improve validation of command-line arguments. 2020-08-10 17:01:59 +00:00
strfile.h