diff options
| author | Brad King <brad.king@kitware.com> | 2014-06-12 13:46:54 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2014-06-12 15:24:17 (GMT) |
| commit | 23ffb72ab3c37652b8d6f1201a5f313cb0d4f8a6 (patch) | |
| tree | 076296d2ede96b47f970d4dfb37f1747ce0f21cb /Tests/Tutorial/Step7/MathFunctions | |
| parent | b041fc13db5b3146cd45d8b81b17535ac8747688 (diff) | |
| download | CMake-23ffb72ab3c37652b8d6f1201a5f313cb0d4f8a6.zip CMake-23ffb72ab3c37652b8d6f1201a5f313cb0d4f8a6.tar.gz CMake-23ffb72ab3c37652b8d6f1201a5f313cb0d4f8a6.tar.bz2 | |
cmake: Fix read-after-free while checking command-line arguments
Since commit v2.8.12~300^2~1 (CLI: Suppress the unused warning if the
key value pair is cached, 2013-05-16), cmake::SetCacheArgs saves a
cachedValue pointer and may cause the memory to be freed (by setting the
cache entry) before reading it again. Fix this by saving the old value
in a separate string.
Diffstat (limited to 'Tests/Tutorial/Step7/MathFunctions')
0 files changed, 0 insertions, 0 deletions
