GNOME Bugzilla – Bug 685394
Segfault if any of the string attribute values to password_store_sync() are None
Last modified: 2012-10-15 12:30:53 UTC
I only tested this with the Python introspection bindings, but if the value of any of the string attributes passed to Secret.password_store_sync() is None instead of "", I get a segfault: Program received signal SIGSEGV, Segmentation fault. g_utf8_validate (str=0x0, max_len=-1, end=0x0) at gutf8.c:1629 (gdb) bt
+ Trace 230953
I'm unsure whether this is a bug in libsecret, libsecret's introspection data, gobject-introspection, or pygobject. I'm guessing the libsecret maintainers would be able to figure this out, and so I'm filing this here. :)
This is a duplicate of this bug. It's invalid to pass a NULL value as one of the attributes, and we now have a better check for that. The attributes are used for keys to lookup passwords, so it doesn't really make sense for them to be NULL. *** This bug has been marked as a duplicate of bug 686015 ***