[xiph-cvs] cvs commit: ices/src stream.c
Brendan
brendan at xiph.org
Tue Mar 11 20:57:01 PST 2003
brendan 03/03/11 23:57:00
Modified: src stream.c
Log:
Workaround for a nasty little bug in ices_mp3_parse, which currently
may stomp memory unless the initial read buffer is at least as large
as the buffer size used while searching for synch. The proper fix isn't
that difficult, but I'm too frazzled to do it now, and I know this will
work.
Revision Changes Path
1.47 +1 -1 ices/src/stream.c
Index: stream.c
===================================================================
RCS file: /cvs/ice/ices/src/stream.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- stream.c 11 Mar 2003 23:15:46 -0000 1.46
+++ stream.c 12 Mar 2003 04:57:00 -0000 1.47
@@ -279,7 +279,7 @@
static int
stream_open_source (input_stream_t* source)
{
- char buf[1024];
+ char buf[INPUT_BUFSIZ];
size_t len;
int fd;
int rc;
<p><p>--- >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 'cvs-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 commits
mailing list