GNOME Bugzilla – Bug 579455
gst.TIME_ARGS doesn't validate input
Last modified: 2009-04-23 15:10:13 UTC
gst.TIME_ARGS(None) will for example trigger a PyErr that doesn't get caught, and then shows up instead of some other exception in the wrong place.
http://thomas.apestaart.org/cgit/gst-python/log/?h=bz-579455 This branch fixes it and adds tests.
This patch referencing technique needs some polish. I can see in commit http://thomas.apestaart.org/cgit/gst-python/commit/?h=bz-579455&id=6843186d3189185f088499411ac3cd4a252d7423 where it adds the unit test, but I can't see where the commit that validates the input is.
Can't see the proper commit either. Only the unit_test one. Thomas, can you reply when your repo is updated with the proper patch ?
Heya Thomas, in the absence of any update, I'm going to call this not a blocker for this release....
Not sure how you don't see it, it's right there at the top of that branch: http://thomas.apestaart.org/cgit/gst-python/commit/?h=bz-579455&id=02da59c7c8829a996c25843f2119d6e19165f1e6
That commit was not there the other day :)
commit 12a210c6137aaf2958db8f0a570ef00711f55ffa Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org> Date: Sat Apr 18 23:52:08 2009 +0200 TIME_ARGS: Catch bad input. Fixes #579455