Changeset af3f2a87 in ffmpeg


Ignore:
Timestamp:
Dec 18, 2011, 8:47:03 PM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
1c73391d
Parents:
7859740c
git-author:
Michael Niedermayer <michaelni@gmx.at> (12/18/11 20:37:54)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (12/18/11 20:47:03)
Message:

mov: detect EOF in mov_read_dref()
This fixes a (near) infinite loop and Ticket783
Bug found by: cosminamironesei

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavformat/mov.c

    r7859740c raf3f2a87  
    432432
    433433            for (type = 0; type != -1 && avio_tell(pb) < next; ) {
     434                if(url_feof(pb))
     435                    return AVERROR(EOF);
    434436                type = avio_rb16(pb);
    435437                len = avio_rb16(pb);
Note: See TracChangeset for help on using the changeset viewer.