Home GnuPG
Diffusion GnuPG c300253181cf

common: Protect against a theoretical integer overflow in tlv.c

Description

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.

Details

Provenance
wernerAuthored on Oct 7 2022, 2:12 PM
Parents
rGa70a3204c24a: dirmngr: Support paged LDAP mode for KS_GET
Branches
Unknown
Tags
Unknown