diff options
author | Elliott Hughes <enh@google.com> | 2019-10-29 12:51:09 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2019-10-29 20:10:59 +0000 |
commit | 89c4e4a43ef19ad6fb4b20675bfb7273b8923eb0 (patch) | |
tree | f49cb9edd9d2b813fde5815981464e50d7fdd3b8 /libc/malloc_debug/malloc_debug.cpp | |
parent | 609d6ec4162aeea66ead0e8eb2afd9b5bd4a7155 (diff) |
Take a couple of wcs MTE patches from upstream FreeBSD.
r293856 | brooks | 2016-01-13 13:50:08 -0800 (Wed, 13 Jan 2016) | 10 lines
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: 206178
Submitted by: Alexander Cherepanov <cherepan@mccme.ru>
MFC after: 1 week
and
r293855 | brooks | 2016-01-13 13:49:01 -0800 (Wed, 13 Jan 2016) | 10 lines
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>
MFC after: 1 week
Test: treehugger
Change-Id: I3f7b9e6d0648574d2836f7721dfe47c1bae146de
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions