]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r301806:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Jun 2016 18:12:11 +0000 (18:12 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Jun 2016 18:12:11 +0000 (18:12 +0000)
commit5b0cdc65324159edc5befdca67eda5484368c2ce
tree2dac6a0082e3136baf1938f82a8a3a59371b495d
parent8104cee1f4d6fe885b75817a344900240a8e000d
MFstable/10 r301806:

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

git-svn-id: svn://svn.freebsd.org/base/stable/9@301807 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libmp/mpasbn.c