summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-09 00:42:04 -0500
committerDan McGee <dan@archlinux.org>2012-04-09 00:46:54 -0500
commitded66fbb62cdad37d577dc048e37f7cea7f7a4da (patch)
treeb80edeb140fccccbbd9abc6bd8d58c5bec331d57 /lib/libalpm/be_package.c
parentca090e10d264e4999e321b0a0b43736a34aa11d9 (diff)
downloadpacman-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 'lib/libalpm/be_package.c')
0 files changed, 0 insertions, 0 deletions