daemon/db: Avoid saving junk records into secret db.
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>
Fri, 26 Jul 2013 10:17:19 +0000 (13:17 +0300)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Fri, 26 Jul 2013 10:17:19 +0000 (13:17 +0300)
commitca8b81852adb3fe30d8087ca61cec3520c0aaa1f
tree18cfd219d82a55ac5151e2c150eb2962591ed131
parentc22a18b2833753edae5014553e2235d9fff6c23f
daemon/db: Avoid saving junk records into secret db.

In case of saving username & secret into credential db,
validate the data to avoid saving junk record, which leads
to unpredictable behaviour as the same data is being used by
plugins to show on ui dialog.
src/daemon/db/gsignond-db-credentials-database.c