root/mediatomb/sources/faad2-cve-2008-4201.patch

Revision 4, 0.6 kB (checked in by ixs, 13 years ago)

initial mediatomb checkin

  • faad2/frontend/main.c

    old new  
    914914                sample_count = frameInfo.samples; 
    915915            } else { 
    916916                sample_count = (unsigned int)(dur * frameInfo.channels); 
     917                if (sample_count > frameInfo.samples) 
     918                    sample_count = frameInfo.samples; 
    917919 
    918920                if (!useAacLength && !initial && (sampleId < numSamples/2) && (sample_count != frameInfo.samples)) 
    919921                { 
Note: See TracBrowser for help on using the browser.