[MPlayer-dev-eng] [PATCH] segfault fix when parsing fuzzed ogg files

Compn tempn at twmi.rr.com
Mon Jul 9 19:55:05 CEST 2007


On Mon, 09 Jul 2007 19:39:40 +0200, Dominik 'Rathann' Mierzejewski
scribed:

>On Monday, 09 July 2007 at 19:28, Compn wrote:
>> On Sun, 08 Jul 2007 22:46:25 +0200, Pierre Lombard scribed:
>> 
>> >[20070708-tremor.diff  text/x-diff (435B)]
>> >Index: tremor/codebook.c
>> 
>> nice.
>> 
>> tremor is from xiph, patch should go upstream too.
>
>The current tremor version doesn't even resemble our fork, I tried

at least tremor/codebook.c on line 155 looks the same as our fork.

http://svn.xiph.org/trunk/Tremor/codebook.c
  if (lok >= 0) {
    long entry = book->dec_firsttable[lok];
    if(entry&0x80000000UL){
      lo=(entry>>15)&0x7fff;
      hi=book->used_entries-(entry&0x7fff);

http://svn.mplayerhq.hu/mplayer/trunk/tremor/codebook.c?view=markup
 if (lok >= 0) {
    long entry = book->dec_firsttable[lok];
    if(entry&0x80000000UL){
      lo=(entry>>15)&0x7fff;
      hi=book->used_entries-(entry&0x7fff);


-compn



More information about the MPlayer-dev-eng mailing list