diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-10-26 05:30:22 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2019-10-26 06:50:24 (GMT) |
commit | 82cdb26c93b595e3791818cc8f24dfc6935eb8a8 (patch) | |
tree | 8fc2cf3057d0bbbcf05adb9bf1400cae66ddbcb4 /Tests/RunCMake/project/RunCMakeTest.cmake | |
parent | 15a0b0d04660fdec8c231ec4d1054ff5f5274610 (diff) | |
download | CMake-82cdb26c93b595e3791818cc8f24dfc6935eb8a8.zip CMake-82cdb26c93b595e3791818cc8f24dfc6935eb8a8.tar.gz CMake-82cdb26c93b595e3791818cc8f24dfc6935eb8a8.tar.bz2 |
project: Fix potential buffer write-past-end for version components
This fixes two errors: not accounting for the trailing null and a
misunderstanding of what std::numeric_limits::digits10 means.
Diffstat (limited to 'Tests/RunCMake/project/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/project/RunCMakeTest.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/project/RunCMakeTest.cmake b/Tests/RunCMake/project/RunCMakeTest.cmake index 8f43a51..6914699 100644 --- a/Tests/RunCMake/project/RunCMakeTest.cmake +++ b/Tests/RunCMake/project/RunCMakeTest.cmake @@ -22,6 +22,7 @@ run_cmake(VersionInvalid) run_cmake(VersionMissingLanguages) run_cmake(VersionMissingValueOkay) run_cmake(VersionTwice) +run_cmake(VersionMax) run_cmake(CMP0048-OLD) run_cmake(CMP0048-OLD-VERSION) |