[Bug network/33227] namespace violation in inet-fortified.h

sam at gentoo dot org sourceware-bugzilla@sourceware.org
Mon Jul 28 20:54:01 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33227

--- Comment #2 from Sam James <sam at gentoo dot org> ---
```
__fortify_function __attribute_overloadable__ int
__NTH (inet_pton (int __af,
           const char *__restrict __src,
           __fortify_clang_overload_arg (void *, __restrict, __dst)))
    __fortify_clang_warning_only_if_bos0_lt
        (4, __dst, "inet_pton called with destination buffer size less than 4")
{
  size_t sz = 0; /* <<<<< */
  if (__af == AF_INET)
    sz = sizeof (struct in_addr);
[...]
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list