diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-09-01 16:20:42 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-09-01 16:20:42 +0000 |
commit | ff38047b0c077d354535a4920d1f84bed45d87f0 (patch) | |
tree | 5611cc4166ec5a8775789390bf46a7f9daf1859a /cddl | |
parent | 2b33ffde2e929b16f8a1d8c3d68019825c22d114 (diff) | |
download | src-ff38047b0c077d354535a4920d1f84bed45d87f0.tar.gz src-ff38047b0c077d354535a4920d1f84bed45d87f0.zip |
Fix a buffer overrun.
getln() returns 'len' valid characters. line[len] is out of bounds.
Reported by: CHERI
Reviewed by: brooks
Obtained from: CheriBSD
MFC after: 2 weeks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26197
Notes
Notes:
svn path=/head/; revision=365055
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions