Home GnuPG
Diffusion GnuPG a82e6f310a03

common: Fix minor bug in the jimregexp code.

Description

common: Fix minor bug in the jimregexp code.

* regexp/jimregexp.c (regatom): Make error checking for stray
backslash at end of the string work.  Check that the pattern class is
closed by a bracket.
  • GnuPG-bug-id: T6455
  • Co-authored-by: Guldrelokk

Details

Provenance
wernerAuthored on Apr 20 2023, 12:26 PM
Parents
rGe1663c045049: gpg: New command "openpgp" for --card-edit.
Branches
Unknown
Tags
Unknown
Tasks
T6455: Bug in regexp library may lead to out-of-bounds read