Home GnuPG
Diffusion GnuPG 057131159b44

gpgconf: Fix another argv overflow if --homedir is used.

Description

gpgconf: Fix another argv overflow if --homedir is used.

* tools/gpgconf-comp.c (gc_component_check_options): Increase array.

I missed to fix that one with the last patch.

Note that there was no problem in 2.2 at thismlocation - probably
because it had been manually backported once.

  • GnuPG-bug-id: T5366
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 26 2021, 4:46 PM
Parents
rGd3d57a1bc88e: gpgconf: Fix argv overflow if --homedir is used.
Branches
Unknown
Tags
Unknown
Tasks
T5366: "*** stack smashing detected ***" in test suite