diff options
author | Ömer Fadıl USTA <omerusta@gmail.com> | 2013-07-12 13:39:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-15 14:20:00 (GMT) |
commit | 499531c64e0cd3a6834616af576d612e8678e4d9 (patch) | |
tree | 1596108467238f067251dc4be9e93addc83fbe46 /Utilities/cmcurl | |
parent | 3b849a7ae9051372cbf35c869a367d911e12491e (diff) | |
download | CMake-499531c64e0cd3a6834616af576d612e8678e4d9.zip CMake-499531c64e0cd3a6834616af576d612e8678e4d9.tar.gz CMake-499531c64e0cd3a6834616af576d612e8678e4d9.tar.bz2 |
libarchive: Fix free() order to avoid accessing freed memory
The archive_string_conv type sc variable already freed via free(sc) on
the other hand in second line we are tyring to free its subset via
free(sc->from_charset) this will cause a problem because we couldn't
reach sc after first release.
Reviewed-by: Igor Murzov <e-mail@date.by>
Diffstat (limited to 'Utilities/cmcurl')
0 files changed, 0 insertions, 0 deletions