projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1dc779
)
Add buffer length checks to every typefinding function
author
David Schleef
<ds@schleef.org>
Thu, 24 Jul 2003 08:49:44 +0000
(08:49 +0000)
committer
David Schleef
<ds@schleef.org>
Thu, 24 Jul 2003 08:49:44 +0000
(08:49 +0000)
Original commit message from CVS:
Add buffer length checks to every typefinding function
gst/realmedia/rmdemux.c
patch
|
blob
|
history
diff --git
a/gst/realmedia/rmdemux.c
b/gst/realmedia/rmdemux.c
index
373cec2
..
87b5e3b
100644
(file)
--- a/
gst/realmedia/rmdemux.c
+++ b/
gst/realmedia/rmdemux.c
@@
-201,7
+201,7
@@
realmedia_type_find (GstBuffer *buf, gpointer private)
g_return_val_if_fail (data != NULL, NULL);
- if(GST_BUFFER_SIZE(buf) <
8
){
+ if(GST_BUFFER_SIZE(buf) <
4
){
return NULL;
}
if (strncmp (data, ".RMF", 4)==0) {