mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
b29842a818
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
6 lines
206 B
Plaintext
6 lines
206 B
Plaintext
CMake Error at NullAfterBackslash.cmake:1:
|
|
Parse error. Function missing ending "\)". Instead found bad character
|
|
with text "\\".
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|