Comment 2 for bug 1647467

Revision history for this message
Julian Andres Klode (juliank) wrote : Re: Security issue in InRelease file verification

The bug was that the return value of getline() was checked for EOF - but getline() also returns on out-of-memory conditions which are thus treated as a end of file.

The attached patch should fix that, but further testing is warranted. If this fix is correct, I'd like to push for a co-ordinated update soon, possibly tomorrow.