diff options
author | Werner Koch <[email protected]> | 2022-10-07 12:12:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-10-07 12:20:53 +0000 |
commit | 94d13f53a3b4c49472db1b17f12844c94a69aba4 (patch) | |
tree | f725a2450abe793c81477bacec36ca1ea9af6da4 /tools/gpg-wks-client.c | |
parent | po: Fix wrong LF in the German translation (diff) | |
download | gnupg-94d13f53a3b4c49472db1b17f12844c94a69aba4.tar.gz gnupg-94d13f53a3b4c49472db1b17f12844c94a69aba4.zip |
common: Protect against a theoretical integer overflow in tlv.c
* common/tlv.c (parse_ber_header): Protect agains integer overflow.
--
Although there is no concrete case where we use the (nhdr + length),
it is better to protect against this already here.
Diffstat (limited to 'tools/gpg-wks-client.c')
0 files changed, 0 insertions, 0 deletions