summaryrefslogtreecommitdiff
path: root/Help/guide/tutorial/Step7/MathFunctions
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-09-20 11:16:29 -0400
committerBrad King <brad.king@kitware.com>2022-09-20 12:00:08 -0400
commit8fc822e13a8bf8695e475655f647d5d69f99c414 (patch)
tree97829920132f02dad0a2c92d40b5cceda421d2e7 /Help/guide/tutorial/Step7/MathFunctions
parent31f158e4c881bea2b526102b2024b0fb34ade42d (diff)
downloadcmake-8fc822e13a8bf8695e475655f647d5d69f99c414.tar.gz
file: Avoid strange istringstream crash in cmake.org binaries on Alpine Linux
Somehow using `istringstream` and `operator >>` to parse an integer crashes on Alpine Linux, at least when compiled with the settings we use for the official `cmake.org` Linux binaries. Since commit fd0c285b12 (file: Fix types of the OFFSET and LIMIT arguments, 2022-01-04, v3.23.0-rc1~133^2), this causes the `file(READ)` command to crash when parsing its `LIMIT` or `OFFSET` argument. Parse the input string with our dedicated helper to avoid the crash. Fixes: #23872
Diffstat (limited to 'Help/guide/tutorial/Step7/MathFunctions')
0 files changed, 0 insertions, 0 deletions