Home GnuPG
Diffusion GPGME 830e017e5d5f

core: Protect against a theoretical integer overflow in parsetlv.c

Description

core: Protect against a theoretical integer overflow in parsetlv.c

* src/parsetlv.c (_gpgme_parse_tlv): Detect integer overflow.

Although there is no concrete case where we use for example
(to.nhdr+ti.length), it feels safer to protect against this anyway.

Details

Provenance
wernerAuthored on Oct 24 2022, 1:50 PM
Parents
rMd9ac13859502: cpp: Allow setting the curve to use when generating ECC keys
Branches
Unknown
Tags
Unknown