Home GnuPG
Diffusion GnuPG 5d375bb16825

gpg: Use is_secured_filename before opening the file.

Description

gpg: Use is_secured_filename before opening the file.

* g10/gpg.c (print_mds): Check by is_secured_filename, earlier.
* g10/tdbdump.c (import_ownertrust): Likewise.
  • GnuPG-bug-id: T6508
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 14 2023, 8:49 AM
Parents
rGcf270b0d3028: sm: Fix open_es_fread and open_es_fwrite for gnupg_fd_t.
Branches
Unknown
Tags
Unknown
Tasks
T6508: Port GnuPG to 64-bit Windows