Home GnuPG
Diffusion GnuPG 2b4b0b1223aa

sm: Fix possible NULL deref in error messages of --gen-key.

Description

sm: Fix possible NULL deref in error messages of --gen-key.

* sm/certreqgen.c: Protect printing the line numbers in case of !R.
  • GnuPG-bug-id: T4895
  • Signed-off-by: Werner Koch <wk@gnupg.org>