Bug 298871
Summary: | unable to get keys out of gnome-keyring; causes nm-applet to segfault | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jesse Keating <jkeating> |
Component: | gnome-keyring | Assignee: | Alexander Larsson <alexl> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | dcantrell, dcbw, gnomeuser |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-28 19:16:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 257221 |
Description
Jesse Keating
2007-09-20 18:42:45 UTC
I saw the nm-applet crash, but then i updated it to get debuginfo, and the new version is acting generally weirdly, so i can't reproduce it. (In fact, i can't find my wireless network even!) Did you see this in any other app? Ok. This is due to a change in gnome-keyring behaviour. When searching for an item that doesn't exist it used to return a DENIED error. This is a bit weird, as that indicates that the item exists, but the user doesn't have access to it. So, in the bug http://bugzilla.gnome.org/show_bug.cgi?id=447315 This was changed to return a non-error result, but a list of zero items. nm-applet doesn't look at the list and promptly dereferences the list. A patch for nm-applet is availible in the ubunty bug: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/121228 (Patch is at http://launchpadlibrarian.net/8137066/01_fix_keyring_crash.patch) Did you see this for any other apps? If so we should fix them too. CCing dcbw for network manager feedback. I'm told that evolution would cycle over and over again when trying to get keys out, so it also is likely not updated to handle the new return value. Unfortunately I don't have anything else that uses the keyring. Patch applies to 0.6.x applet; I think 0.7 should be OK here because it does "if (g_slist_length (found_list) == 0)" which should work fine with a NULL found list. So if we ship with 0.6.x in F8 I'll make sure the patch gets in, and if we ship with 0.7 I think we're OK. This no longer happens, closing. |