summaryrefslogtreecommitdiffstats
path: root/src/util/testdb.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-09 07:42:04 +0200
committerDan McGee <dan@archlinux.org>2012-04-09 07:46:54 +0200
commitded66fbb62cdad37d577dc048e37f7cea7f7a4da (patch)
treeb80edeb140fccccbbd9abc6bd8d58c5bec331d57 /src/util/testdb.c
parentca090e10d264e4999e321b0a0b43736a34aa11d9 (diff)
downloadpacman-ded66fbb62cdad37d577dc048e37f7cea7f7a4da.tar.gz
pacman-ded66fbb62cdad37d577dc048e37f7cea7f7a4da.tar.xz
Fix issues with unintialized variable value usage
Detected by clang scan-build static code analyzer. * Don't attempt to free an uninitialized gpgme key variable * Initialize answer variable before asking frontend a question * Pass by reference instead of value if uninitialized fields are possible in download signal handler code * Ensure we never call strlen() on NULL payload->remote_name value Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testdb.c')
0 files changed, 0 insertions, 0 deletions