diff options
| author | tb <> | 2026-04-24 15:10:20 +0000 |
|---|---|---|
| committer | tb <> | 2026-04-24 15:10:20 +0000 |
| commit | 425087a13e903f70b7f86dc6cbfd0893fb2ef79a (patch) | |
| tree | 8cad1ffa45a4bd5c9d151942535b0dd64fa59585 /src/lib/libcrypto/comp | |
| parent | 663fcbae236d58cdbdb79f281892e6bbaaeae55d (diff) | |
| download | openbsd-425087a13e903f70b7f86dc6cbfd0893fb2ef79a.tar.gz openbsd-425087a13e903f70b7f86dc6cbfd0893fb2ef79a.tar.bz2 openbsd-425087a13e903f70b7f86dc6cbfd0893fb2ef79a.zip | |
Simplify PKCS7_get_issuer_and_serial()
The i variable is unused. Likewise for the first assignment to ri.
Instead of an incomplete check that idx is in range, which still
results in a NULL deref if idx < 0, check if ri is not NULL before
accessing, as sk_value() checks the index correctly.
ok jsing kenjiro
Diffstat (limited to 'src/lib/libcrypto/comp')
0 files changed, 0 insertions, 0 deletions
