freebsd-dev/usr.sbin/lpr
Garance A Drosehn e550d65c85 Fixes to chkprintcap:
- Check the return from a call to malloc() in skim_printcap(), and
  return a NULL if that fails.
- Fix a small memory leak in main() that happens if skim_printcap()
  returns an error, including the new error-return of NULL.

Submitted by:	Tom Rix <trix@juniper.net>
Reviewed by:	pfg, ngie
MFC after:	4 weeks
Sponsored by:	Dell EMC Isilon, Juniper
Differential Revision:	D9954, D9982
2017-03-20 22:36:28 +00:00
..
chkprintcap Fixes to chkprintcap: 2017-03-20 22:36:28 +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