[vorbis] Got a problem (BUG?)

Jon Brightwell jon.brightwell at atd.co.uk
Sat Jul 14 03:08:57 PDT 2001



Its amazing what recompiling the libraries can do for a project. :]
Alignment problem I guess </me shrugs>

It still manages to trounce the stack and other debug data if the stream
comes across corrupt data during normal decoding. :[ I thought it was
bad data tolerant?

On Fri, 13 Jul 2001 13:01:51 -0400
xiphmont at xiph.org (Monty) wrote:

> 
> 
> 
> On Fri, Jul 13, 2001 at 04:04:56PM +0100, Jon Brightwell wrote:
> > Hi
> > 
> > we run a util at work called 'bounds checker' and it came up with this
> > little beauty:
> > 
> > 
> > void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){
> >   memset(b,0,sizeof(oggpack_buffer));
> >   b->buffer=b->ptr=buf;
> >   b->storage=bytes;
> > }
> > 
> > Stack memory overrun: Copying 20 bytes to opb; Starting offset 0,
> > destination size 4 bytes.
> 
> I'll need more than that, especially considering that the error you
> report is for a variable that does not exist in the given function ;-)
> 
> I think I know what it really meant, but in that case it's a bit
> confused.  There are two invocatons of oggpack_readinit and both are
> being passed the correct type (pointer to an oggpack struct).
> 
> > I'll try and get more info on it.
> 
> Please do.
> 
> Monty
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list