GNOME Bugzilla – Bug 599050
[mpegvideoparse] Does not check width/height range
Last modified: 2009-10-26 12:35:42 UTC
Created attachment 145862 [details] [review] The patch Mpegvideoparse does not check width/height range, I'll attach a patch that fixes it. I opened this bug because I don't know if the current sequence header should be updated to a "invalid" state when a sequence header is dropped.
Maybe, but the current code returns FALSE without invalidating the current sequence header as well, so your patch wouldn't make things any worse. I think it's essentially the same as assuming a wrong sync, I don't really see a problem with the way it works currently (or did I miss something?)
Fixed by: Module: gst-plugins-bad Branch: master Commit: 106971243824bd756995f391e9ba2829ae31516a URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=106971243824bd756995f391e9ba2829ae31516a Author: Thiago Santos <thiagoss@embedded.ufcg.edu.br> Date: Tue Oct 20 10:57:28 2009 -0300 mpegvideoparse: check width/height range Checks if the width/height that are to be set on src pad caps are within valid range of [16,4096] (and again I forgot to add the bug number to the commit message :( )