summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorÖmer Fadıl USTA <omerusta@gmail.com>2013-07-12 13:39:34 (GMT)
committerBrad King <brad.king@kitware.com>2013-07-15 14:20:00 (GMT)
commit499531c64e0cd3a6834616af576d612e8678e4d9 (patch)
tree1596108467238f067251dc4be9e93addc83fbe46 /Utilities/cmcurl
parent3b849a7ae9051372cbf35c869a367d911e12491e (diff)
downloadCMake-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