diff options
author | millert <> | 2022-04-13 16:20:11 +0000 |
---|---|---|
committer | millert <> | 2022-04-13 16:20:11 +0000 |
commit | 61604225d69faf376476dc94f932171f19816004 (patch) | |
tree | 2c0f5e59f4c57717fc528908330f7d6eba93e4b4 /src/lib/libssl/tls13_handshake.c | |
parent | 5b563b96d12e90451e74b05124a3532e31609cdf (diff) | |
download | openbsd-61604225d69faf376476dc94f932171f19816004.tar.gz openbsd-61604225d69faf376476dc94f932171f19816004.tar.bz2 openbsd-61604225d69faf376476dc94f932171f19816004.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/lib/libssl/tls13_handshake.c')
0 files changed, 0 insertions, 0 deletions