• Katerina Barone-Adesi's avatar
    apetag: Fix APE tag size check · c5560e72
    Katerina Barone-Adesi authored
    The size variable is (correctly) unsigned, but is passed to several functions
    which take signed parameters, such as avio_read, sometimes after having
    numbers added to it. So ensure that size remains within the bounds that
    these functions can handle.
    
    CC: libav-stable@libav.org
    Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
    c5560e72
apetag.c 6.98 KB