GNOME Bugzilla – Bug 576863
Code reading gnome-version.xml assumed it's well-formed
Last modified: 2011-11-15 09:06:05 UTC
I was playing with gnome-version.xml to try some things, and broke it for fun. It seems gnome-system-monitor doesn't really like the case where it's broken. src/sysinfo.cpp:load_gnome_version() shouldn't set this->gnome_version if one of the three nodes that should be read couldn't be read.
Created attachment 201418 [details] [review] Proposed patch I can confirm this with the latest HEAD from git, and I'm attaching a patch to avoid setting incomplete gnome version number, so if any of the major, minor, micro version number can not be read, the version number will not be displayed at all to avoid displaying incomplete version numbers (3.2. or 3..0 or .0.2)
Thanks. Patch committed.