After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 455379 - _wrap_gnome_keyring_get_default_keyring_sync doesn't check "keyring" variable to be NULL
_wrap_gnome_keyring_get_default_keyring_sync doesn't check "keyring" variable...
Status: RESOLVED FIXED
Product: gnome-python-desktop
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-10 01:08 UTC by Pavel Kostyuchenko
Modified: 2007-07-15 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Additional null check (629 bytes, patch)
2007-07-10 01:10 UTC, Pavel Kostyuchenko
none Details | Review

Description Pavel Kostyuchenko 2007-07-10 01:08:47 UTC
This is an old but still not fixed bug. It leads to the segmentation fault of the python interpreter.
Comment 1 Pavel Kostyuchenko 2007-07-10 01:10:54 UTC
Created attachment 91525 [details] [review]
Additional null check
Comment 2 Gustavo Carneiro 2007-07-14 14:19:57 UTC
The patch doesn't work because this way the wrapper returns NULL but raises no exception.  Bug 363019 should be fixed instead IMHO.

*** This bug has been marked as a duplicate of 363019 ***
Comment 3 Gustavo Carneiro 2007-07-15 17:21:00 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.