]> git.saurik.com Git - apt.git/commit
properly check for "all good sigs are weak"
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 21 Mar 2016 17:47:10 +0000 (18:47 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 21 Mar 2016 21:47:17 +0000 (22:47 +0100)
commit8fa99570816d3a644a9c4386c6a8f2ca21480329
treec3cc10beb5415c00b33e8b0be75a384c42d69440
parentd32223495b4b6e077c8c4db54a0dd972c7a1548a
properly check for "all good sigs are weak"

Using erase(pos) is invalid in our case here as pos must be a valid and
derefenceable iterator, which isn't the case for an end-iterator (like
if we had no good signature).
The problem runs deeper still through as VALIDSIG is a keyid while
GOODSIG is just a longid so comparing them will always fail.

Closes: 818910
methods/gpgv.cc
test/integration/framework
test/integration/test-releasefile-verification