GNOME Bugzilla – Bug 710995
Crash if mount_operation is NULL
Last modified: 2013-10-31 12:42:47 UTC
With most of the _with_operation methods of GDaemonFile, the mount_operation is ref'd without checking for NULL causing a crash if NULL is given (which is allowed).
Created attachment 258279 [details] [review] Don't crash if mount_operation is given as NULL Check for NULL before using the mount_operation given to any of GDaemonFile's methods to prevent a crash due to refing NULL.
Review of attachment 258279 [details] [review]: It looks good.
Pushed to master as a9c38f1.