aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-10 23:20:26 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-10-10 23:58:55 +0200
commit96782fa5f76076a0d8e6d9a8932d5fe7b8d5352d (patch)
tree77a0fd67b04759cc1ea81e1fd3c155dda4edcb9c /contrib
parent2366161091f05d025f2eb9e18afa14766b5d9b9a (diff)
fix db_subscr_get_by_*(): clear output data; test in db_test.c
db_subscr_get_by_*() failed to clear the out-param struct, meaning that data could remain in a struct even though it is not present in the database. Always zero out the struct before writing to it. Adjust the db_test to catch this error by writing "-invalid-data-" to each struct before running db get functions. Change-Id: I038bd437452c87841d709fcdd5ac30ab1356b2db
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions