• gpoirier's avatar
    harden h264 decoding to prevent some crashes when input data is corrupted. · 814c303b
    gpoirier authored
    Patch by Frank %eucloid A gmail P com%
    date: Jan 18, 2007 6:48 PM
    subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch)
    AND
    date: Jan 17, 2007 8:22 PM
    subject: [Ffmpeg-devel] h264, protection against corrupted data
    
    this also fixes a possible security issue (the sps and pps ids where not checked, 
    then used as index into an array of sps/pps structs which was then filled with data from the bitstream)
    
    
    git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7585 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
    814c303b
h264.c 321 KB