Commit Graph

4 Commits

Author SHA1 Message Date
Stef Walter
0d116b7177 libsecret: Fix uninitialized access in _secret_attributes_validate() 2014-03-05 12:59:48 +01:00
Claudio Saavedra
261749ec77 secret-attributes: improve validation of attributes table
Attributes table that are built by the library itself contain
the xdg:schema meta-attribute. Additionally,
secrets with a SECRET_SCHEMA_COMPAT_NETWORK schema might also have
libgnomekeyring specific meta-attributes (prefixed 'gkr'). During
validation, ensure that the former is consistent with the name
of the schema and ignore the latter.

Add tests for these changes

https://bugzilla.gnome.org/show_bug.cgi?id=694107
2013-02-26 19:30:33 +01:00
Stef Walter
7e02a594a7 Better critical preconditions for invalid attributes
* When passing NULL for a string vararg attribute print
   a critical warning.
 * Make all attribute warnings critical
 * Add tests for the various critical warnings

https://bugzilla.gnome.org/show_bug.cgi?id=686015
2012-10-12 18:28:14 +02:00
Stef Walter
5cc30b2b68 Rename the library subdirectory to libsecret
* Death by a thousand paper cuts from gir and vapi not liking
   the fact that the secret.h file was not usable uninstalled
   and installed in the same way.
2012-07-13 10:40:25 +02:00