diff options
author | tb <> | 2022-08-31 07:15:31 +0000 |
---|---|---|
committer | tb <> | 2022-08-31 07:15:31 +0000 |
commit | 1af840db6160c4511f1e225122056a69d23d80cd (patch) | |
tree | 88f5b5602ade55484690aaa6189a95822613e5a9 /src/regress/lib/libcrypto/ecdsa/ecdsatest.c | |
parent | 77eac0ad9b595b925f07dc5b13a0538ec6557aba (diff) | |
download | openbsd-1af840db6160c4511f1e225122056a69d23d80cd.tar.gz openbsd-1af840db6160c4511f1e225122056a69d23d80cd.tar.bz2 openbsd-1af840db6160c4511f1e225122056a69d23d80cd.zip |
Switch loop bounds from size_t to int in check_hosts()
sk_num() can return a negative value, in which case the upper bound is
SIZE_MAX, which results in a very long for loop.
CID 153997
ok jsing
Diffstat (limited to 'src/regress/lib/libcrypto/ecdsa/ecdsatest.c')
0 files changed, 0 insertions, 0 deletions