HomeFreeBSD

Fix two buffer overflows caused by off-by-one errors: avoid writing a null
rS121065Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
tjrAuthored on
Parents
rS121064: Include <nlist.h> for nlist-related declarations instead of depending on
Branches
Unknown
Tags
Unknown

Event Timeline