diff options
| author | NIIBE Yutaka <[email protected]> | 2025-11-20 05:23:34 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-11-20 05:23:34 +0000 |
| commit | bcd87ea2b2da3ed9fe41341959d9c886029606a9 (patch) | |
| tree | d2404dfa77f9bec99adfb5f75f52a419c7b52469 /common/ksba-io-support.c | |
| parent | Post release updates (diff) | |
| download | gnupg-bcd87ea2b2da3ed9fe41341959d9c886029606a9.tar.gz gnupg-bcd87ea2b2da3ed9fe41341959d9c886029606a9.zip | |
misc: Validate the value on the use of strtol.
* g10/misc.c (string_to_cipher_algo): Use "long"-type variable to
catch the result of strtol and validate the value.
(string_to_aead_algo, string_to_digest_algo): Likewise.
--
Reported-by: 8b79fe4dd0581c1cd000e1fbecba9f39e16a396a
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/ksba-io-support.c')
0 files changed, 0 insertions, 0 deletions
