Fix two buffer overflows caused by off-by-one errors: avoid writing a null
character 1 byte past the end of cmdline[] when libedit is being used for
input, and avoid writing a null pointer 1 element past the end of margv[].
Reviewed by: gad
Fix two buffer overflows caused by off-by-one errors: avoid writing a null rS121065Unpublished Tags None Referenced Files None Subscribers None
Description
Details
Event Timeline |