[Ffmpeg-devel] [PATCH] different vorbis extradata handling

Nico Sabbi nsabbi
Fri May 13 01:36:07 CEST 2005


Michael Niedermayer wrote:

>>+    offset += xiphlacing(&ptr[offset], priv->len[1]);
>>    
>>
>
>looks possibly exploitable if a packet is larger then 64*255= 16320
>
>
>  
>

what value do you advise?

>>                 st->codec.extradata_size = extradata_size;
>>+                av_log(matroska->ctx, AV_LOG_INFO, "EXTRA: %p, SIZE: %d\n", 
>>    
>>
>extradata, extradata_size);
>  
>
>>             } else if(track->codec_priv && track->codec_priv_size > 0){
>>    
>>
>
>hmm forgoten debug av_log() ?
>
>[...]
>  
>

oops, yes





More information about the ffmpeg-devel mailing list