- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for __if_nametoindex (4.8 sec)
-
ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch
diff --git a/sysdeps/unix/sysv/linux/if_index.c b/sysdeps/unix/sysv/linux/if_index.c index 8ba5eae..b620d21 100644 --- a/sysdeps/unix/sysv/linux/if_index.c +++ b/sysdeps/unix/sysv/linux/if_index.c @@ -38,12 +38,19 @@ __if_nametoindex (const char *ifname) return 0; #else struct ifreq ifr; + if (strlen (ifname) >= IFNAMSIZ) + { + __set_errno (ENODEV); + return 0; + } +
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Nov 11 19:25:56 UTC 2024 - 42.9K bytes - Viewed (0)