Home GnuPG

fips: Check return value from ftell
076dd2ffcd95Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

fips: Check return value from ftell

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

Cherry-picked master commit of:
3fd3bb31597f80c76a94ea62e42d58d796beabf1

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
rC4cff7e739829: random: Remove unused SHA384 DRBGs.
Branches
Unknown
Tags
Unknown

Event Timeline