diff options
author | Werner Koch <[email protected]> | 2025-04-30 13:13:11 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-05-02 10:09:19 +0000 |
commit | 3ea8cab6a40485ff9748a77bca3b26c63a788449 (patch) | |
tree | 93a7096b125522816c5c8f2c1a04dc02426a21a1 /tools/clean-sat.c | |
parent | gpg: Fix another regression due to the T7547 fix. (diff) | |
download | gnupg-STABLE-BRANCH-2-4.tar.gz gnupg-STABLE-BRANCH-2-4.zip |
common: Fix logic for certain recsel conditions.STABLE-BRANCH-2-4
* common/recsel.c (recsel_select): Change processing of NULL values.
* common/t-recsel.c (run_test_2): Adjust for this change. Also a type
fix for s/"letter"/"letters"/.
--
The getval function may return NULL which indicates that there is no
useful value available. For example because the propertyname is not
defined for some external context (e.g. in gpg the packet type). This
also required to fix the test for boolean tests of a non existing
property name.
Reported-by: shniubobo at gnupg-users on 2025-04-18.
Diffstat (limited to 'tools/clean-sat.c')
0 files changed, 0 insertions, 0 deletions