Revision bcedf2e5

View differences:

libavformat/asfdec.c
842 842
        av_log(s, AV_LOG_ERROR, "unexpected packet_replic_size of %d\n", asf->packet_replic_size);
843 843
        return -1;
844 844
    }
845
    if (rsize > asf->packet_size_left) {
846
        av_log(s, AV_LOG_ERROR, "packet_replic_size is invalid\n");
847
        return -1;
848
    }
845 849
    if (asf->packet_flags & 0x01) {
846 850
        DO_2BITS(asf->packet_segsizetype >> 6, asf->packet_frag_size, 0); // 0 is illegal
847 851
        if(asf->packet_frag_size > asf->packet_size_left - rsize){

Also available in: Unified diff