GNOME Bugzilla – Bug 747690
gstvalue: failure to deserialize bitmask
Last modified: 2015-04-13 10:46:02 UTC
When doing gstvalue TC, one failure happens as below. 97%: Checks: 35, Failures: 1, Errors: 0 gst/gstvalue.c:490:F:general:test_deserialize_bitmask:0: could not deserialize 0xffffffffffffffff (0) This happens because errno already has meaningless value, but this is caught by error check logic after g_ascii_strtoull calls. errno needs to be reset to zero.
Created attachment 301358 [details] [review] gstvalue: reset errno before g_ascii_strtoull call
Comment on attachment 301358 [details] [review] gstvalue: reset errno before g_ascii_strtoull call I can confirm that this patch fixes the gstvalue test case on OS X 10.10.2 GStreamer master.
Pushed, thanks. commit e08c03ed07eddc22d2400a90705c422291863fba Author: Hyunjun Ko <zzoon.ko@samsung.com> Date: Sat Apr 11 20:44:02 2015 +0900 gstvalue: reset errno before g_ascii_strtoull call "errno" already has meaningless value before g_ascii_strtoull call. This causes invalid error check without reset. https://bugzilla.gnome.org/show_bug.cgi?id=747690