GNOME Bugzilla – Bug 780278
weather: Guard against segfault
Last modified: 2017-05-21 04:28:42 UTC
See patch.
Created attachment 348276 [details] [review] weather: Guard against segfault When GWeatherInfo:location is set to %NULL, the default location will be used. Currently the code assumes that this fallback can always be resolved, however find_by_station_code() may return %NULL, resulting in a segfault.
Review of attachment 348276 [details] [review]: Looks good.
Attachment 348276 [details] pushed as 61e0932 - weather: Guard against segfault
Maybe we should have a tarball release with this fix?