GNOME Bugzilla – Bug 694787
Can't handle empty string secrets
Last modified: 2013-03-04 07:42:01 UTC
This trace suggests that we're receiving an empty string as a secret from the secret service and that secret_value_new_full() is failing because of that. (gdb) bt
+ Trace 231577
Created attachment 237504 [details] [review] secret-value: allow empty strings Passwords and other secrets are allowed to be empty strings, therefore the check for length != 0 is wrong.
Created attachment 237931 [details] [review] secret-value: allow empty strings Passwords and other secrets are allowed to be empty strings, therefore the check for length != 0 is wrong. Add tests for empty SecretValue contents.
Thanks for catching that. How does the attached patch look? If it checks out, please go ahead and push it.
Attachment 237931 [details] pushed as ab239c7 - secret-value: allow empty strings