(/usr/include/bits/unistd.h) |
| |
| 266 | | | __NTH (getgroups (int __size, __gid_t __list[]))
x /usr/include/sys/cdefs.h |
| |
48 | # define __NTH(fct) __attribute__ ((__nothrow__)) fct |
| |
|
| 267 | | | { |
| 268 | | | if (__bos (__list) != (size_t) -1)
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 269 | | | { |
| 270 | | | if (!__builtin_constant_p (__size) || __size < 0) |
Unreachable Call
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 271 | | | return __getgroups_chk (__size, __list, __bos (__list));
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 272 | | | |
| 273 | | | if (__size * sizeof (__gid_t) > __bos (__list))
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 274 | | | return __getgroups_chk_warn (__size, __list, __bos (__list));
x /usr/include/sys/cdefs.h |
| |
132 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| |
|
| 275 | | | } |
| 276 | | | return __getgroups_alias (__size, __list); |
| 277 | | | } |
| |