1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin/banner
Ruslan Ermilov 1a084f197d Fixed the race caused by not checking the result of fgets(3):
/usr/bin/env MALLOC_OPTIONS=J banner </dev/null

PR:		bin/29074

Fixed the problem when banner(6) would eat last character:

	echo -n a | banner

MFC after:	1 week
2001-07-19 08:07:09 +00:00
..
banner.6 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
banner.c Fixed the race caused by not checking the result of fgets(3): 2001-07-19 08:07:09 +00:00
Makefile