CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2022/04/13 10:20:11
Modified files: lib/libc/net : inet_net_pton.c Log message: 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@