Home GnuPG

Fix an undefined return value in ksba_cert_get_digest_algo.
3f74c2cc0068Unpublished

Unpublished Commit · Learn More

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

Description

Fix an undefined return value in ksba_cert_get_digest_algo.

* src/cert.c (ksba_cert_get_digest_algo): Set ALGO in the error case.
* tests/cert-basic.c (one_file): Take care of printf which does not
handle NULL for %s
  • GnuPG-bug-id: T2343
  • Reported-by: Pascal Cuoq

Details

Provenance
wernerAuthored on May 3 2016, 4:06 PM
Parents
rK6be61daac047: Fix an OOB read access in _ksba_dn_to_str.
Branches
Unknown
Tags
Unknown