1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-10 13:04:23 +01:00
Werner Koch aa0c942521
gpg: Fix assertion failure due to errors in encrypt_filter.
* common/iobuf.c (iobuf_copy): Use log_assert.  Explicitly cast error
return value.
* g10/build-packet.c (do_plaintext): Check for iobuf_copy error.

* g10/encrypt.c (encrypt_filter): Immediately set header_okay.
--

Fixes-commit: 8066f8a3470f9d2f3682a28641a7b09eca29a105
which caused the assertion failure on error.

The second fix avoids repeated error message about non-compliant keys.

GnuPG-bug-id: 6174
2022-08-31 13:35:41 +02:00
..
2015-10-28 10:20:17 +01:00
2021-10-06 11:06:01 +02:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2021-08-27 17:22:25 +09:00
2019-04-16 13:27:44 +09:00
2022-08-15 12:14:44 +02:00
2016-03-02 14:27:30 +01:00
2017-02-21 13:11:46 -05:00
2020-11-09 11:53:33 +01:00
2022-08-02 12:25:23 +02:00
2022-06-20 15:54:29 +02:00
2022-06-20 15:54:29 +02:00
2022-08-02 12:25:23 +02:00
2022-08-02 12:25:23 +02:00
2022-02-07 18:22:30 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.