]> granicus.if.org Git - file/commit
Apply patches from file-CVE-2012-1571.patch
authorChristos Zoulas <christos@zoulas.com>
Mon, 5 May 2014 16:11:21 +0000 (16:11 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 5 May 2014 16:11:21 +0000 (16:11 +0000)
commit6d209c1c489457397a5763bca4b28e43aac90391
treedf6d5ee2e8a6bab7f6030ca65c844f21ca2062ca
parentaa45cb543a1c46a569a1922bb7912905cc7e03a1
Apply patches from file-CVE-2012-1571.patch
From Francisco Alonso Espejo:
    file < 5.18/git version can be made to crash when checking some
    corrupt CDF files (Using an invalid cdf_read_short_sector size)
    The problem I found here, is that in most situations (if
    h_short_sec_size_p2 > 8) because the blocksize is 512 and normal
    values are 06 which means reading 64 bytes.As long as the check
    for the block size copy is not checked properly (there's an assert
    that makes wrong/invalid assumptions)
src/cdf.c
src/readcdf.c