GNOME Bugzilla – Bug 158375
fix segfault in mp3 typefinding
Last modified: 2004-12-22 21:47:04 UTC
typefind a mp3 file. It's a core bug, we need to workaround it until a new core release.
Created attachment 33806 [details] [review] fix
Can't reproduce this against either 0.8.7 install or HEAD of GStreamer core. I used gst-typefind on the two .mp3's in our testsuite. How can I reproduce ?
You probably can't, becayuse you run a developer install. The theory is simple, though. Core 0.8.7's typefind and spider will define a GstTypeFind structure that is *not* zeroed explicitely. Developer installs will zero this, stripped installs won't. The check for this function checks for it being zero and else executes it. Since it's not zeroed, we access random memory and thus crash. The workaround is to not use the function until a newer core has been released. Just trust me, this is an issue. Thanks.
Well, I *don't* run a developer install. But what can I do if people don't follow my QA ? sigh. commited.