Searched hist:315659 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dcommon.cdiff 315659 Tue Mar 21 03:55:25 MDT 2017 pfg MFC r314877:
lpr(1): small bounds check with reallocarray(3).

While here plug a memory leak upon error and postpose the multiplication
until after reallocation has succeded.

Hinted partially by: OpenBSD
Reviewed by: gad

Completed in 120 milliseconds