freebsd-dev/usr.sbin/lpr
Pedro F. Giffuni 4fd444b072 lpr(1): small bounds check with reallocarray(3).
While here plug a memory leak upon error and postpose a multiplication
until after reallocation has succeded.

Hinted partially by:	OpenBSD
Reviewed by:		gad
MFC after:		2 weeks
2017-03-07 19:30:22 +00:00
..
chkprintcap Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
common_source lpr(1): small bounds check with reallocarray(3). 2017-03-07 19:30:22 +00:00
filters Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
filters.ru Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
lp Add META_MODE support. 2015-06-13 19:20:56 +00:00
lpc Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
lpd Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
lpq Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
lpr Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
lprm Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
lptest Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
pac Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
Makefile.inc Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00