diff options
author | Tim Kientzle <kientzle@gmail.com> | 2014-09-26 01:51:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-09 18:08:43 (GMT) |
commit | 1f33b45d5daca380e0be0ecfc595eac881328f29 (patch) | |
tree | 8e525f8ddc59afac475b78a8839710b9783bf0f4 /Source | |
parent | 732d8a467ab8a295b1bbf580f865980f8a1a9b29 (diff) | |
download | CMake-1f33b45d5daca380e0be0ecfc595eac881328f29.zip CMake-1f33b45d5daca380e0be0ecfc595eac881328f29.tar.gz CMake-1f33b45d5daca380e0be0ecfc595eac881328f29.tar.bz2 |
libarchive: Fix string concatentation in Windows mktemp implementation
Port upstream LibArchive commit "compute string pointers after
concatenation" (2014-09-25) and commit "Move variables to top of
function for non-C99 compilers" (2014-11-15) to our CMake copy.
Otherwise we may compute a pointer to memory that is about to be freed
and then compute a bad size to give to CryptGenRandom.
Inspired-by: Tim Kientzle <kientzle@gmail.com>
Diffstat (limited to 'Source')
0 files changed, 0 insertions, 0 deletions