Home GnuPG
Diffusion GPGME b088d81cefe4

qt: Fix an rfc2253 parser flaw

Description

qt: Fix an rfc2253 parser flaw

* lang/qt/src/dn.cpp (parse_dn_part): Fix parser.

This could in theory result in reading bytes after a after Nul in a
string and thus possible segv on unallocated memory or reading other
parts of the memory. However, it is harmless because the rfc2253
strings have been received from GnuPG which is expected to emit
correct syntax.

Details

Provenance
wernerAuthored on Aug 28 2020, 9:12 AM
Parents
rMf66f856c89b7: core: Add error handling to setexpire
Branches
Unknown
Tags
Unknown
Tasks
T5037: dn.cpp:181: suspicious loop