HomeFreeBSD

MFC r299510:

Description

MFC r299510:
r299510 (by cem):

libmp: Fix trivial buffer overrun

fgetln yields a non-NUL-terminated buffer and its length. This routine
attempted to NUL-terminate it, but did not allocate space for the NUL. So,
allocate space for the NUL.

CID: 1017457

Details

Provenance
ngieAuthored on
Parents
rS301805: MFC r299508:
Branches
Unknown
Tags
Unknown