Home GnuPG

fips: Check return value from ftell

Description

fips: Check return value from ftell

* src/fips.c (get_file_offset): Check return value of ftell to be able
  to detect errors.

Originally reported by coverity.

  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Feb 20 2023, 4:16 PM
gniibeCommitted on Mar 7 2023, 7:36 AM
Parents
rC45b80678109e: random: Remove unused SHA384 DRBGs.
Branches
Unknown
Tags
Unknown