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
MFC r314877: Tags None Referenced Files None Subscribers None
Description
Details
|