GNOME Bugzilla – Bug 749882
Fix coverity scan bugs
Last modified: 2015-05-27 09:04:50 UTC
.
Created attachment 303979 [details] [review] wacom: Fix freeing buffer in OLED helper We can't free "", buffer needs to be set by the command-line options, but we never check that it got set. From coverity: gnome-settings-daemon-3.14.4/plugins/wacom/gsd-wacom-oled-helper.c:415: incorrect_free: "g_free" frees incorrect pointer "buffer".
Created attachment 303980 [details] [review] wacom: Fix possible double-free in LED helper From coverity: gnome-settings-daemon-3.14.4/plugins/wacom/gsd-wacom-led-helper.c:130: double_free: Calling "g_free" frees pointer "status" which has already been freed.
Created attachment 303981 [details] [review] power: Fix invalid error access From coverity: gnome-settings-daemon-3.14.4/plugins/power/gpm-common.c:321:52: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Review of attachment 303979 [details] [review]: ++
Review of attachment 303980 [details] [review]: ++
Review of attachment 303981 [details] [review]: ++
Attachment 303979 [details] pushed as 8ec4957 - wacom: Fix freeing buffer in OLED helper Attachment 303980 [details] pushed as 5d66158 - wacom: Fix possible double-free in LED helper Attachment 303981 [details] pushed as 15029f1 - power: Fix invalid error access