Diffusion GnuPG 2b4b0b1223aa

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

Authored by werner on Mar 30 2020, 5:16 PM.

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>