diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-04-28 17:36:54 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-04-28 18:19:41 +0200 |
commit | 949d2e98a0fc00afc6e9cf78a724d0d578a3ca2a (patch) | |
tree | 0e06046f8aa80b879e486246b6097d55c0f23954 /po/ja.po | |
parent | 3163087b04ca5c297a7c98c018ba5c30e850a11e (diff) |
initialize Verify in second pkgAcqIndex constructor
gcc reports in testcase ./test-bug-596498-trusted-unsigned-repo:
apt-pkg/acquire-item.cc:1059:7: runtime error: load of value 234, which
is not a valid value for type 'bool'
This happens as the bool Verify is initialized only in one of the two
constructors of the pkgAcqIndex class. It isn't a problem through as the
verification controlled by this flag is optional and used to fail early
on garbage files (like network portal pages) instead of later on in the
hashsum verification or while parsing (the then untrusted) file.
Reported-By: gcc-4.9 -fsanitize=undefined
Diffstat (limited to 'po/ja.po')
0 files changed, 0 insertions, 0 deletions