diff options
author | millert <> | 2022-04-13 16:20:11 +0000 |
---|---|---|
committer | millert <> | 2022-04-13 16:20:11 +0000 |
commit | 0e1b851ca91c98cb510341b07f455ae8cdca7709 (patch) | |
tree | 2c0f5e59f4c57717fc528908330f7d6eba93e4b4 /src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | |
parent | ab2da90046213c4582bcb27db8227d1a8e9d97d3 (diff) | |
download | openbsd-0e1b851ca91c98cb510341b07f455ae8cdca7709.tar.gz openbsd-0e1b851ca91c98cb510341b07f455ae8cdca7709.tar.bz2 openbsd-0e1b851ca91c98cb510341b07f455ae8cdca7709.zip |
inet_net_pton_ipv6: avoid signed vs unsigned comparison
Use a temporary variable to store the number of bytes to be copied
(size_t) and also use it as the memcpy(3) length. Previously we
copied "size" bytes instead of just the necessary number.
OK claudio@ tb@
Diffstat (limited to 'src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py')
0 files changed, 0 insertions, 0 deletions