summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKevin Adler <kadler@us.ibm.com>2020-11-13 21:35:06 (GMT)
committerKevin Adler <kadler@us.ibm.com>2020-11-13 23:02:55 (GMT)
commita8ad5332894e5276e837b90d378a097024dcfad1 (patch)
treef1b66863d435127a6397ca4459c2a083b4d8ba6c /CMakeLists.txt
parent3094b5c289b418b31e63ad2e7f52a38cf64e3dfc (diff)
downloadNinja-a8ad5332894e5276e837b90d378a097024dcfad1.zip
Ninja-a8ad5332894e5276e837b90d378a097024dcfad1.tar.gz
Ninja-a8ad5332894e5276e837b90d378a097024dcfad1.tar.bz2
Fix buffer overread in hash_collision_benchmark.cc
The randomly generated command strings are not null-terminated and implicitly converted to StringPiece objects, which will use strlen to determine how long the passed `char*` is. Without the null terminator, this results in undefined behavior and regularly causes crashes on AIX.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions