Home GnuPG

Fix double increment in DN parser while counting hexdigits.

Description

Fix double increment in DN parser while counting hexdigits.

* src/dn.c (parse_rdn): Turn for-loop into a while-loop.

This bug could be used to mount a DoS due to an over-read and thus
potentially reading from non-allocated memory.

(from 2002)

Details

Provenance
wernerAuthored on Fri, Feb 13, 1:58 PM
Parents
rK63df5658b41d: build: Update build-aux and m4 from libgpg-error.
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Tasks
Unknown Object (Maniphest Task)