1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-10 18:03:03 +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
..
2019-05-14 11:24:35 +09:00
2022-08-29 13:13:45 +02:00
2021-11-13 21:02:22 +01:00
2022-08-29 13:13:45 +02:00
2015-02-04 09:15:34 +01:00
2018-03-08 14:08:51 +09:00
2022-08-29 13:13:45 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2020-10-28 18:10:01 +01:00
2017-03-07 20:25:54 +09:00
2022-05-05 14:02:02 +02:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2020-10-28 18:10:01 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2022-08-29 13:13:45 +02:00
2016-03-08 14:08:49 +01:00
2016-12-06 12:16:56 +01:00