summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Cppcheck
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-06-26 15:51:44 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-26 15:54:34 (GMT)
commitb29842a818ea978a85c0646cd3c2b3191b0498fc (patch)
tree3367b225f72c3fa1d5bb8f903273a037122b36e0 /Tests/RunCMake/Cppcheck
parentef5e2e8a62982ebccf4883fc7a01cdb66f8ca183 (diff)
downloadCMake-b29842a818ea978a85c0646cd3c2b3191b0498fc.zip
CMake-b29842a818ea978a85c0646cd3c2b3191b0498fc.tar.gz
CMake-b29842a818ea978a85c0646cd3c2b3191b0498fc.tar.bz2
ListFileLexer: Do not match null bytes in input
Extend the fix from commit v3.10.0-rc1~188^2 (ListFileLexer: fix heap-buffer-overflow on malicious input, 2017-08-26) to apply to all lexer token matches. Replace all `.` with `[^\0\n]`. Update all `[^...]` match expressions to not match `\0`. We cannot safely process null bytes in strings. Fixes: #18124
Diffstat (limited to 'Tests/RunCMake/Cppcheck')
0 files changed, 0 insertions, 0 deletions