Home GnuPG
Diffusion GnuPG 73af66a0aada

common: Better respect the packet's length when reading it.
73af66a0aadaUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common: Better respect the packet's length when reading it.

* g10/parse-packet.c (parse_signature): Make sure PKTLEN doesn't
underflow.  Be more careful that a read doesn't read more data than
PKTLEN says is available.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Aug 21 2015, 9:28 AM
Parents
rGb8adfc4186fa: doc: Remove C++ style comments and update HACKING.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG73af66a0aada: common: Better respect the packet's length when reading it. (authored by Neal H. Walfield <neal@g10code.com>).Aug 21 2015, 2:20 PM