From: Jonathan McDowell Date: Sun, 29 Sep 2013 21:12:21 +0000 (+0100) Subject: Prevent read_openpgp_stream from returning empty packets X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/4b48bfe2bb8471be547a0503aa516a5248277bac?ds=inline;hp=4b48bfe2bb8471be547a0503aa516a5248277bac Prevent read_openpgp_stream from returning empty packets If read_openpgp_stream got an invalid packet that had a semi valid header it could potentially return an empty package, which would confuse splitkeys. Cleanup the final package returned if it turns out we didn't have valid data for it. Fixes Debian bug #716350 ---