diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-09 07:42:04 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-09 07:46:54 +0200 |
commit | ded66fbb62cdad37d577dc048e37f7cea7f7a4da (patch) | |
tree | b80edeb140fccccbbd9abc6bd8d58c5bec331d57 /lib/libalpm/be_local.c | |
parent | ca090e10d264e4999e321b0a0b43736a34aa11d9 (diff) | |
download | pacman-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 'lib/libalpm/be_local.c')
0 files changed, 0 insertions, 0 deletions