GNOME Bugzilla – Bug 739971
When firewall zone configured, presenting connection editor window causes segfault
Last modified: 2015-02-10 11:41:00 UTC
Created attachment 290424 [details] [review]
Git-format patch against gnome-3-14
There is some memory mismanagement in firewall-helpers.c. Fix attached.
The call to nm_setting_connection_get_zone() returns a pointer to
memory that will be freed before the D-Bus reply handler is called.
Make sure to take a copy of the string, and free it when finished.
It looks like this problem is in gnome-3-10 and all subsequent branches.
Review of attachment 290424 [details] [review]: