After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 112711 - [0.6.2] [PATCH] videotestsrc doesn't ref caps and doesn't check buffer size from bufferpool
[0.6.2] [PATCH] videotestsrc doesn't ref caps and doesn't check buffer size f...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.x
Other Linux
: Normal normal
: 0.6.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-05-10 16:06 UTC by Thomas Vander Stichele
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for gstvideotestsrc.c (3.66 KB, patch)
2003-05-10 16:06 UTC, Thomas Vander Stichele
none Details | Review

Description Thomas Vander Stichele 2003-05-10 16:06:17 UTC
* _getcaps doesn't ref caps, causing the capslist to be returned even when
the refcount is 0 and they're invalid
* videotestsrc doesn't check buffer sizes from the bufferpool if it uses
them, causing segfaults when the buffer is actually drawn to when it is too
small
Comment 1 Thomas Vander Stichele 2003-05-10 16:06:40 UTC
Created attachment 16405 [details] [review]
patch for gstvideotestsrc.c
Comment 2 Thomas Vander Stichele 2003-05-10 16:08:15 UTC
patch needs to be reworked for HEAD, applied to 0.6.x
Comment 3 Thomas Vander Stichele 2003-05-10 17:37:14 UTC
commited to HEAD too.