summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fopen.c
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2016-01-20 19:08:49 +0000
committerbrooks <brooks@FreeBSD.org>2016-01-20 19:08:49 +0000
commite2eb05d1c781889c336a2514b104717f58ceddca (patch)
tree359c4a63e5ba9a5852b7c34b2da3fbe4e639b774 /lib/libc/stdio/fopen.c
parent8ac497f63ee970f8afcee328597d87dbd1c93744 (diff)
downloadFreeBSD-src-e2eb05d1c781889c336a2514b104717f58ceddca.zip
FreeBSD-src-e2eb05d1c781889c336a2514b104717f58ceddca.tar.gz
MFC r293855:
Avoid reading pass the end of the source buffer when it is not NUL terminated. If this buffer is adjacent to an unmapped page or a version of C with bounds checked is used this may result in a crash. PR: 206177 Submitted by: Alexander Cherepanov <cherepan@mccme.ru>
Diffstat (limited to 'lib/libc/stdio/fopen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud