GNOME Bugzilla – Bug 642949
pbutils: encoding-target: chaining error object in loading target from file may cause crash if there is no error
Last modified: 2011-08-23 10:53:44 UTC
If application passed GError object pointer set to NULL to gst_encoding_target_load_from_file function the error handling in load_file_and_read_header may cause crash in error printing if no actual error happens. Instead of chaining the error object use temporary error and g_propagate_error to report errors happening in g_key_file_load_from_file to application level.
Created attachment 181565 [details] [review] Proposed fix.
commit 17fddc13d2bded11bb52e7698230c69e514a8345 Author: Teemu Katajisto <teemu.katajisto@digia.com> Date: Mon Feb 21 15:58:16 2011 +0200 pbutils: encoding-target: fix error checking in target file loading https://bugzilla.gnome.org/show_bug.cgi?id=642949
*** Bug 656535 has been marked as a duplicate of this bug. ***