Home GnuPG
Diffusion GnuPG 178c3fe62c25

gpg: Improve detection of input data read errors.

Description

gpg: Improve detection of input data read errors.

* g10/build-packet.c (do_plaintext): Better error checking for
iobuf_copy.

The original fix handles only the disk full case but didn't bother
about read errors (i.e. I/O problems on an external drive).

Details