~ubuntu-branches/ubuntu/quantal/libav/quantal

« back to all changes in this revision

Viewing changes to libavcodec/h261dec.c

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-03-21 21:18:24 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20120321211824-n63p3v3s99q3mxrb
Tags: 4:0.8.1-0ubuntu1
* New upstream bug and security fix release (FFe: LP: #960949)
  - fixes the following CVEs:
    CVE-2012-0848, CVE-2012-0853, CVE-2012-0858, CVE-2011-3929,
    CVE-2011-3936, CVE-2011-3937, CVE-2011-3940, CVE-2011-3945,
    CVE-2011-3947, CVE-2011-3951, CVE-2011-3952

* Pull fix from Debian git to fix installation of avserver.conf and
  recordshow.sh into libav-tools; Thanks to Julien Cristau for spotting this!
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
    while( h->mba_diff == MBA_STUFFING ); // stuffing
266
266
 
267
267
    if ( h->mba_diff < 0 ){
268
 
        if ( get_bits_count(&s->gb) + 7 >= s->gb.size_in_bits )
 
268
        if (get_bits_left(&s->gb) <= 7)
269
269
            return SLICE_END;
270
270
 
271
271
        av_log(s->avctx, AV_LOG_ERROR, "illegal mba at %d %d\n", s->mb_x, s->mb_y);