Fixed defects
List of Defects
Error: CPPCHECK_WARNING (CWE-570): [#def1]
glibc-2.39-build/glibc-2.39/benchtests/bench-bzero-walk.c:82: error[comparePointers]: Comparing pointers that point to different objects
# 80| json_array_begin (json_ctx, "timings");
# 81|
# 82|-> FOR_EACH_IMPL (impl, 0)
# 83| {
# 84| do_one_test (json_ctx, impl, (CHAR *) buf1,
Error: CPPCHECK_WARNING (CWE-570): [#def2]
glibc-2.39-build/glibc-2.39/benchtests/bench-bzero-walk.c:82: error[subtractPointers]: Subtracting pointers that point to different objects
# 80| json_array_begin (json_ctx, "timings");
# 81|
# 82|-> FOR_EACH_IMPL (impl, 0)
# 83| {
# 84| do_one_test (json_ctx, impl, (CHAR *) buf1,
Error: CPPCHECK_WARNING (CWE-570): [#def3]
glibc-2.39-build/glibc-2.39/benchtests/bench-bzero-walk.c:111: error[comparePointers]: Comparing pointers that point to different objects
# 109|
# 110| json_array_begin (&json_ctx, "ifuncs");
# 111|-> FOR_EACH_IMPL (impl, 0)
# 112| json_element_string (&json_ctx, impl->name);
# 113| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING (CWE-570): [#def4]
glibc-2.39-build/glibc-2.39/benchtests/bench-bzero-walk.c:111: error[subtractPointers]: Subtracting pointers that point to different objects
# 109|
# 110| json_array_begin (&json_ctx, "ifuncs");
# 111|-> FOR_EACH_IMPL (impl, 0)
# 112| json_element_string (&json_ctx, impl->name);
# 113| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING (CWE-570): [#def5]
glibc-2.39-build/glibc-2.39/benchtests/bench-memcpy-walk.c:84: error[comparePointers]: Comparing pointers that point to different objects
# 82| json_array_begin (json_ctx, "timings");
# 83|
# 84|-> FOR_EACH_IMPL (impl, 0)
# 85| do_one_test (json_ctx, impl, s2, s1, len);
# 86|
Error: CPPCHECK_WARNING (CWE-570): [#def6]
glibc-2.39-build/glibc-2.39/benchtests/bench-memcpy-walk.c:84: error[subtractPointers]: Subtracting pointers that point to different objects
# 82| json_array_begin (json_ctx, "timings");
# 83|
# 84|-> FOR_EACH_IMPL (impl, 0)
# 85| do_one_test (json_ctx, impl, s2, s1, len);
# 86|
Error: CPPCHECK_WARNING (CWE-570): [#def7]
glibc-2.39-build/glibc-2.39/benchtests/bench-memcpy-walk.c:112: error[comparePointers]: Comparing pointers that point to different objects
# 110|
# 111| json_array_begin (&json_ctx, "ifuncs");
# 112|-> FOR_EACH_IMPL (impl, 0)
# 113| json_element_string (&json_ctx, impl->name);
# 114| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING (CWE-570): [#def8]
glibc-2.39-build/glibc-2.39/benchtests/bench-memcpy-walk.c:112: error[subtractPointers]: Subtracting pointers that point to different objects
# 110|
# 111| json_array_begin (&json_ctx, "ifuncs");
# 112|-> FOR_EACH_IMPL (impl, 0)
# 113| json_element_string (&json_ctx, impl->name);
# 114| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING: [#def9]
glibc-2.39-build/glibc-2.39/benchtests/bench-memmove-walk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-570): [#def10]
glibc-2.39-build/glibc-2.39/benchtests/bench-memmove-walk.c:97: error[comparePointers]: Comparing pointers that point to different objects
# 95|
# 96|
# 97|-> FOR_EACH_IMPL (impl, 0)
# 98| do_one_test (json_ctx, impl, (char *) buf2, (char *) buf1, len);
# 99|
Error: CPPCHECK_WARNING (CWE-570): [#def11]
glibc-2.39-build/glibc-2.39/benchtests/bench-memmove-walk.c:97: error[subtractPointers]: Subtracting pointers that point to different objects
# 95|
# 96|
# 97|-> FOR_EACH_IMPL (impl, 0)
# 98| do_one_test (json_ctx, impl, (char *) buf2, (char *) buf1, len);
# 99|
Error: CPPCHECK_WARNING (CWE-570): [#def12]
glibc-2.39-build/glibc-2.39/benchtests/bench-memmove-walk.c:126: error[comparePointers]: Comparing pointers that point to different objects
# 124|
# 125| json_array_begin (&json_ctx, "ifuncs");
# 126|-> FOR_EACH_IMPL (impl, 0)
# 127| json_element_string (&json_ctx, impl->name);
# 128| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING (CWE-570): [#def13]
glibc-2.39-build/glibc-2.39/benchtests/bench-memmove-walk.c:126: error[subtractPointers]: Subtracting pointers that point to different objects
# 124|
# 125| json_array_begin (&json_ctx, "ifuncs");
# 126|-> FOR_EACH_IMPL (impl, 0)
# 127| json_element_string (&json_ctx, impl->name);
# 128| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING (CWE-570): [#def14]
glibc-2.39-build/glibc-2.39/benchtests/bench-memset-walk.c:60: error[comparePointers]: Comparing pointers that point to different objects
# 58| json_array_begin (json_ctx, "timings");
# 59|
# 60|-> FOR_EACH_IMPL (impl, 0)
# 61| {
# 62| do_one_test (json_ctx, impl, (CHAR *) buf1,
Error: CPPCHECK_WARNING (CWE-570): [#def15]
glibc-2.39-build/glibc-2.39/benchtests/bench-memset-walk.c:60: error[subtractPointers]: Subtracting pointers that point to different objects
# 58| json_array_begin (json_ctx, "timings");
# 59|
# 60|-> FOR_EACH_IMPL (impl, 0)
# 61| {
# 62| do_one_test (json_ctx, impl, (CHAR *) buf1,
Error: CPPCHECK_WARNING (CWE-570): [#def16]
glibc-2.39-build/glibc-2.39/benchtests/bench-memset-walk.c:89: error[comparePointers]: Comparing pointers that point to different objects
# 87|
# 88| json_array_begin (&json_ctx, "ifuncs");
# 89|-> FOR_EACH_IMPL (impl, 0)
# 90| json_element_string (&json_ctx, impl->name);
# 91| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING (CWE-570): [#def17]
glibc-2.39-build/glibc-2.39/benchtests/bench-memset-walk.c:89: error[subtractPointers]: Subtracting pointers that point to different objects
# 87|
# 88| json_array_begin (&json_ctx, "ifuncs");
# 89|-> FOR_EACH_IMPL (impl, 0)
# 90| json_element_string (&json_ctx, impl->name);
# 91| json_array_end (&json_ctx);
Error: CPPCHECK_WARNING: [#def18]
glibc-2.39-build/glibc-2.39/elf/dl-find_object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def19]
glibc-2.39-build/glibc-2.39/include/time.h:410:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U2688>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/settimeofday.c: scope_hint: In function ‘__settimeofday64’
# 408| ts64.tv_nsec = tv64.tv_usec * 1000;
# 409|
# 410|-> return ts64;
# 411| }
# 412|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def20]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3688>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___pthread_mutex_timedlock’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def21]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U55f0>’
glibc-2.39-build/glibc-2.39/nptl/pthread_clockjoin.c: scope_hint: In function ‘___pthread_clockjoin_np’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def22]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U65f0>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___cnd_timedwait’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def23]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7980>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___pthread_rwlock_timedrdlock’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua980>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___pthread_cond_clockwait’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc5f0>’
glibc-2.39-build/glibc-2.39/nptl/pthread_timedjoin.c: scope_hint: In function ‘___pthread_timedjoin_np’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def26]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc980>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___pthread_rwlock_clockrdlock’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def27]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ue5f0>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘__thrd_sleep’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def28]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ue980>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___pthread_rwlock_clockwrlock’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def29]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf5f0>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___sem_timedwait’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def30]
glibc-2.39-build/glibc-2.39/include/time.h:422:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf980>’
glibc-2.39-build/glibc-2.39/include/time.h: scope_hint: In function ‘___pthread_cond_clockwait’
# 420| ts64.tv_nsec = ts.tv_nsec;
# 421|
# 422|-> return ts64;
# 423| }
# 424|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def31]
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c: scope_hint: In function ‘___gai_suspend’
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c:180:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 2f8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/link.h:51: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/dlfcn.h:4: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nss/nsswitch.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/nsswitch.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nss/netgroup.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/netdb.h:214: included_from: Included from here.
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c: scope_hint: In function ‘___gai_suspend’
# 178|
# 179| if (timeout != NULL)
# 180|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 181|
# 182| return __gai_suspend_time64 (list, ent, timeout != NULL ? &ts64 : NULL);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def32]
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c: scope_hint: In function ‘___gai_suspend’
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c:180:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf2f8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/link.h:51: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/dlfcn.h:4: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nss/nsswitch.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/nsswitch.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nss/netgroup.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/netdb.h:214: included_from: Included from here.
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/resolv/gai_suspend.c: scope_hint: In function ‘___gai_suspend’
# 178|
# 179| if (timeout != NULL)
# 180|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 181|
# 182| return __gai_suspend_time64 (list, ent, timeout != NULL ? &ts64 : NULL);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def33]
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c: scope_hint: In function ‘__aio_suspend’
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c:275:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U8da8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/libc-lock.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c:36: included_from: Included from here.
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c: scope_hint: In function ‘__aio_suspend’
# 273|
# 274| if (timeout != NULL)
# 275|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 276|
# 277| return __aio_suspend_time64 (list, nent, timeout != NULL ? &ts64 : NULL);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def34]
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c: scope_hint: In function ‘__aio_suspend’
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c:275:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ufda8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/libc-lock.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c:36: included_from: Included from here.
glibc-2.39-build/glibc-2.39/rt/aio_suspend.c: scope_hint: In function ‘__aio_suspend’
# 273|
# 274| if (timeout != NULL)
# 275|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 276|
# 277| return __aio_suspend_time64 (list, nent, timeout != NULL ? &ts64 : NULL);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def35]
glibc-2.39-build/glibc-2.39/support/timespec-time64.c:39: included_from: Included from here.
glibc-2.39-build/glibc-2.39/support/timespec.c: scope_hint: In function ‘support_timespec_normalize_time64’
glibc-2.39-build/glibc-2.39/support/timespec.c:88:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘norm.<U68e8>’
# 86| norm.tv_sec = (time.tv_nsec < 0) ? TYPE_MINIMUM (time_t): TYPE_MAXIMUM (time_t);
# 87| norm.tv_nsec = (time.tv_nsec < 0) ? -1 * (TIMESPEC_HZ - 1) : TIMESPEC_HZ - 1;
# 88|-> return norm;
# 89| }
# 90| norm.tv_nsec = time.tv_nsec % TIMESPEC_HZ;
Error: GCC_ANALYZER_WARNING (CWE-457): [#def36]
glibc-2.39-build/glibc-2.39/support/timespec.c:91:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘norm.<U68e8>’
# 89| }
# 90| norm.tv_nsec = time.tv_nsec % TIMESPEC_HZ;
# 91|-> return norm;
# 92| }
# 93|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def37]
glibc-2.39-build/glibc-2.39/support/timespec.h:33:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘r.<U95f0>’
glibc-2.39-build/glibc-2.39/support/dtotimespec.c: scope_hint: In function ‘dtotimespec_time64’
glibc-2.39-build/glibc-2.39/support/dtotimespec.c:27:1: note: in expansion of macro ‘dtotimespec’
# 31| r.tv_sec = s;
# 32| r.tv_nsec = ns;
# 33|-> return r;
# 34| }
# 35|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def38]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c: scope_hint: In function ‘__clock_getres64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:54:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U2980>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:49:7: note: in expansion of macro ‘INLINE_VSYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:49:7: note: in expansion of macro ‘INLINE_VSYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:49:7: note: in expansion of macro ‘INLINE_VSYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c: scope_hint: In function ‘__clock_getres64’
# 52| # endif
# 53| if (r == 0 && res != NULL)
# 54|-> *res = valid_timespec_to_timespec64 (ts32);
# 55| #endif
# 56|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def39]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c: scope_hint: In function ‘__clock_getres64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:54:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4980>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:49:7: note: in expansion of macro ‘INLINE_VSYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:49:7: note: in expansion of macro ‘INLINE_VSYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c:49:7: note: in expansion of macro ‘INLINE_VSYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_getres.c: scope_hint: In function ‘__clock_getres64’
# 52| # endif
# 53| if (r == 0 && res != NULL)
# 54|-> *res = valid_timespec_to_timespec64 (ts32);
# 55| #endif
# 56|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def40]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c: scope_hint: In function ‘__clock_gettime64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c:58:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 980>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c:24: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep-vdso.h:26:6: note: in definition of macro ‘INTERNAL_VSYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c: scope_hint: In function ‘__clock_gettime64’
# 56| if (r == 0 && tp32.tv_sec >= 0)
# 57| {
# 58|-> *tp = valid_timespec_to_timespec64 (tp32);
# 59| return 0;
# 60| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c:80:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 980>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:351:7: note: in expansion of macro ‘ASMARGS_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:280:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_INLINE’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:335:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:36:3: note: in expansion of macro ‘INTERNAL_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INTERNAL_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:52:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:58:3: note: in expansion of macro ‘__INTERNAL_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c:77:7: note: in expansion of macro ‘INTERNAL_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c: scope_hint: In function ‘__clock_gettime64’
# 78| if (r == 0)
# 79| {
# 80|-> *tp = valid_timespec_to_timespec64 (tp32);
# 81| return 0;
# 82| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def42]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep_time64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c:67:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 5f0>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c:18: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep_time64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep_time64’
# 65| {
# 66| if (r == -EINTR && rem != NULL && (flags & TIMER_ABSTIME) == 0)
# 67|-> *rem = valid_timespec_to_timespec64 (tr32);
# 68| }
# 69| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def43]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep_time64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c:67:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U25f0>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c:18: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep_time64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep_time64’
# 65| {
# 66| if (r == -EINTR && rem != NULL && (flags & TIMER_ABSTIME) == 0)
# 67|-> *rem = valid_timespec_to_timespec64 (tr32);
# 68| }
# 69| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def44]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 5f0>’
# 82| struct __timespec64 treq64, trem64;
# 83|
# 84|-> treq64 = valid_timespec_to_timespec64 (*req);
# 85| r = __clock_nanosleep_time64 (clock_id, flags, &treq64,
# 86| rem != NULL ? &trem64 : NULL);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c: scope_hint: In function ‘__clock_nanosleep’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/clock_nanosleep.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U25f0>’
# 82| struct __timespec64 treq64, trem64;
# 83|
# 84|-> treq64 = valid_timespec_to_timespec64 (*req);
# 85| r = __clock_nanosleep_time64 (clock_id, flags, &treq64,
# 86| rem != NULL ? &trem64 : NULL);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def46]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c: scope_hint: In function ‘epoll_pwait2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U c78>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c: scope_hint: In function ‘epoll_pwait2’
# 37| if (tmo != NULL)
# 38| {
# 39|-> tmo64 = valid_timespec_to_timespec64 (*tmo);
# 40| ptmo64 = &tmo64;
# 41| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def47]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c: scope_hint: In function ‘epoll_pwait2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c:39:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ubc78>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/epoll_pwait2.c: scope_hint: In function ‘epoll_pwait2’
# 37| if (tmo != NULL)
# 38| {
# 39|-> tmo64 = valid_timespec_to_timespec64 (*tmo);
# 40| ptmo64 = &tmo64;
# 41| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def48]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c: scope_hint: In function ‘fstatat64_time64_stat’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c:126:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U38e8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c:24: included_from: Included from here.
# 124| buf->st_blksize = st64.st_blksize;
# 125| buf->st_blocks = st64.st_blocks;
# 126|-> buf->st_atim = valid_timespec_to_timespec64 (st64.st_atim);
# 127| buf->st_mtim = valid_timespec_to_timespec64 (st64.st_mtim);
# 128| buf->st_ctim = valid_timespec_to_timespec64 (st64.st_ctim);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def49]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c: scope_hint: In function ‘fstatat64_time64_stat’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c:126:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U88e8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c:24: included_from: Included from here.
# 124| buf->st_blksize = st64.st_blksize;
# 125| buf->st_blocks = st64.st_blocks;
# 126|-> buf->st_atim = valid_timespec_to_timespec64 (st64.st_atim);
# 127| buf->st_mtim = valid_timespec_to_timespec64 (st64.st_mtim);
# 128| buf->st_ctim = valid_timespec_to_timespec64 (st64.st_ctim);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def50]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c: scope_hint: In function ‘fstatat64_time64_stat’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c:126:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf8e8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c:24: included_from: Included from here.
# 124| buf->st_blksize = st64.st_blksize;
# 125| buf->st_blocks = st64.st_blocks;
# 126|-> buf->st_atim = valid_timespec_to_timespec64 (st64.st_atim);
# 127| buf->st_mtim = valid_timespec_to_timespec64 (st64.st_mtim);
# 128| buf->st_ctim = valid_timespec_to_timespec64 (st64.st_ctim);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def51]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c: scope_hint: In function ‘__futimens’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c:49:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 2f8>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c: scope_hint: In function ‘__futimens’
# 47| if (tsp)
# 48| {
# 49|-> tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
# 50| tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
# 51| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def52]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c: scope_hint: In function ‘__futimens’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c:49:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua2f8>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimens.c: scope_hint: In function ‘__futimens’
# 47| if (tsp)
# 48| {
# 49|-> tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
# 50| tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
# 51| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def53]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c: scope_hint: In function ‘__futimes64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c:31:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4688>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c: scope_hint: In function ‘__futimes64’
# 29| if (tvp64 != NULL)
# 30| {
# 31|-> ts64[0] = timeval64_to_timespec64 (tvp64[0]);
# 32| ts64[1] = timeval64_to_timespec64 (tvp64[1]);
# 33| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c: scope_hint: In function ‘__futimes64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c:31:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua688>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimes.c: scope_hint: In function ‘__futimes64’
# 29| if (tvp64 != NULL)
# 30| {
# 31|-> ts64[0] = timeval64_to_timespec64 (tvp64[0]);
# 32| ts64[1] = timeval64_to_timespec64 (tvp64[1]);
# 33| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def55]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c: scope_hint: In function ‘__futimesat64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5688>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c: scope_hint: In function ‘__futimesat64’
# 28| if (tvp64 != NULL)
# 29| {
# 30|-> ts64[0] = timeval64_to_timespec64 (tvp64[0]);
# 31| ts64[1] = timeval64_to_timespec64 (tvp64[1]);
# 32| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def56]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c: scope_hint: In function ‘__futimesat64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U6688>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/futimesat.c: scope_hint: In function ‘__futimesat64’
# 28| if (tvp64 != NULL)
# 29| {
# 30|-> ts64[0] = timeval64_to_timespec64 (tvp64[0]);
# 31| ts64[1] = timeval64_to_timespec64 (tvp64[1]);
# 32| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def57]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/lutimes.c: scope_hint: In function ‘__lutimes64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/lutimes.c:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5c78>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/lutimes.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/lutimes.c: scope_hint: In function ‘__lutimes64’
# 28| if (tvp64 != NULL)
# 29| {
# 30|-> ts64[0] = timeval64_to_timespec64 (tvp64[0]);
# 31| ts64[1] = timeval64_to_timespec64 (tvp64[1]);
# 32| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def58]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c: scope_hint: In function ‘___mq_timedreceive’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U5da8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep-cancel.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c: scope_hint: In function ‘___mq_timedreceive’
# 82| struct __timespec64 ts64;
# 83| if (abs_timeout != NULL)
# 84|-> ts64 = valid_timespec_to_timespec64 (*abs_timeout);
# 85|
# 86| return __mq_timedreceive_time64 (mqdes, msg_ptr, msg_len, msg_prio,
Error: GCC_ANALYZER_WARNING (CWE-457): [#def59]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c: scope_hint: In function ‘___mq_timedreceive’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c:84:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ufda8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep-cancel.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedreceive.c: scope_hint: In function ‘___mq_timedreceive’
# 82| struct __timespec64 ts64;
# 83| if (abs_timeout != NULL)
# 84|-> ts64 = valid_timespec_to_timespec64 (*abs_timeout);
# 85|
# 86| return __mq_timedreceive_time64 (mqdes, msg_ptr, msg_len, msg_prio,
Error: GCC_ANALYZER_WARNING (CWE-457): [#def60]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c: scope_hint: In function ‘___mq_timedsend’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U da8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep-cancel.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c: scope_hint: In function ‘___mq_timedsend’
# 81| struct __timespec64 ts64;
# 82| if (abs_timeout != NULL)
# 83|-> ts64 = valid_timespec_to_timespec64 (*abs_timeout);
# 84|
# 85| return __mq_timedsend_time64 (mqdes, msg_ptr, msg_len, msg_prio,
Error: GCC_ANALYZER_WARNING (CWE-457): [#def61]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c: scope_hint: In function ‘___mq_timedsend’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c:83:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U9da8>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep-cancel.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/mq_timedsend.c: scope_hint: In function ‘___mq_timedsend’
# 81| struct __timespec64 ts64;
# 82| if (abs_timeout != NULL)
# 83|-> ts64 = valid_timespec_to_timespec64 (*abs_timeout);
# 84|
# 85| return __mq_timedsend_time64 (mqdes, msg_ptr, msg_len, msg_prio,
Error: GCC_ANALYZER_WARNING (CWE-457): [#def62]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/nanosleep.c: scope_hint: In function ‘__nanosleep’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/nanosleep.c:41:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U15f0>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/nanosleep.c:19: included_from: Included from here.
# 39| struct __timespec64 treq64, trem64;
# 40|
# 41|-> treq64 = valid_timespec_to_timespec64 (*req);
# 42| int ret = __nanosleep64 (&treq64, rem != NULL ? &trem64 : NULL);
# 43|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def63]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/nanosleep.c: scope_hint: In function ‘__nanosleep’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/nanosleep.c:41:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ua5f0>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/nanosleep.c:19: included_from: Included from here.
# 39| struct __timespec64 treq64, trem64;
# 40|
# 41|-> treq64 = valid_timespec_to_timespec64 (*req);
# 42| int ret = __nanosleep64 (&treq64, rem != NULL ? &trem64 : NULL);
# 43|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def64]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c: scope_hint: In function ‘ppoll’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c:75:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U28e8>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c: scope_hint: In function ‘ppoll’
# 73| struct __timespec64 ts64;
# 74| if (timeout)
# 75|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 76|
# 77| return __ppoll64 (fds, nfds, timeout ? &ts64 : NULL, sigmask);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def65]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c: scope_hint: In function ‘ppoll’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c:75:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ub8e8>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/ppoll.c: scope_hint: In function ‘ppoll’
# 73| struct __timespec64 ts64;
# 74| if (timeout)
# 75|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 76|
# 77| return __ppoll64 (fds, nfds, timeout ? &ts64 : NULL, sigmask);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def66]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c: scope_hint: In function ‘__pselect’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c:84:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 558>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep-cancel.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c: scope_hint: In function ‘__pselect’
# 82| if (timeout != NULL)
# 83| {
# 84|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 85| pts64 = &ts64;
# 86| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def67]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c: scope_hint: In function ‘__pselect’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c:84:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U2558>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep-cancel.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/pselect.c: scope_hint: In function ‘__pselect’
# 82| if (timeout != NULL)
# 83| {
# 84|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 85| pts64 = &ts64;
# 86| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def68]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘recvmmsg_syscall’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:55:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 0>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:91:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL5’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:122:16: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:48:7: note: in expansion of macro ‘SYSCALL_CANCEL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘recvmmsg_syscall’
# 53| {
# 54| if (timeout != NULL)
# 55|-> *timeout = valid_timespec_to_timespec64 (ts32);
# 56| }
# 57| #endif
Error: GCC_ANALYZER_WARNING (CWE-457): [#def69]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘recvmmsg_syscall’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:55:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf000>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:91:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL5’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:122:16: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:48:7: note: in expansion of macro ‘SYSCALL_CANCEL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘recvmmsg_syscall’
# 53| {
# 54| if (timeout != NULL)
# 55|-> *timeout = valid_timespec_to_timespec64 (ts32);
# 56| }
# 57| #endif
Error: GCC_ANALYZER_WARNING (CWE-457): [#def70]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘__recvmmsg’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:93:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 0>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘__recvmmsg’
# 91| if (timeout != NULL)
# 92| {
# 93|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 94| pts64 = &ts64;
# 95| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def71]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘__recvmmsg’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c:93:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/recvmmsg.c: scope_hint: In function ‘__recvmmsg’
# 91| if (timeout != NULL)
# 92| {
# 93|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 94| pts64 = &ts64;
# 95| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def72]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c: scope_hint: In function ‘__sched_rr_get_interval64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U9000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:351:7: note: in expansion of macro ‘ASMARGS_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:280:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_INLINE’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:335:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep.h:44:23: note: in expansion of macro ‘INTERNAL_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c: scope_hint: In function ‘__sched_rr_get_interval64’
# 37| ret = INLINE_SYSCALL_CALL (sched_rr_get_interval, pid, &tp32);
# 38| if (ret == 0)
# 39|-> *tp = valid_timespec_to_timespec64 (tp32);
# 40| #endif
# 41| return ret;
Error: GCC_ANALYZER_WARNING (CWE-457): [#def73]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c: scope_hint: In function ‘__sched_rr_get_interval64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:39:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ud000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:351:7: note: in expansion of macro ‘ASMARGS_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:280:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_INLINE’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:335:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep.h:44:23: note: in expansion of macro ‘INTERNAL_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c:37:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sched_rr_gi.c: scope_hint: In function ‘__sched_rr_get_interval64’
# 37| ret = INLINE_SYSCALL_CALL (sched_rr_get_interval, pid, &tp32);
# 38| if (ret == 0)
# 39|-> *tp = valid_timespec_to_timespec64 (tp32);
# 40| #endif
# 41| return ret;
Error: GCC_ANALYZER_WARNING (CWE-457): [#def74]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/semtimedop.c: scope_hint: In function ‘__semtimedop’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/semtimedop.c:79:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4558>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/semtimedop.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/semtimedop.c: scope_hint: In function ‘__semtimedop’
# 77| if (timeout != NULL)
# 78| {
# 79|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 80| pts64 = &ts64;
# 81| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def75]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c: scope_hint: In function ‘__sigtimedwait’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uc850>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c: scope_hint: In function ‘__sigtimedwait’
# 74| if (timeout != NULL)
# 75| {
# 76|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 77| pts64 = &ts64;
# 78| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def76]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c: scope_hint: In function ‘__sigtimedwait’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c:76:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ue850>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sigtimedwait.c: scope_hint: In function ‘__sigtimedwait’
# 74| if (timeout != NULL)
# 75| {
# 76|-> ts64 = valid_timespec_to_timespec64 (*timeout);
# 77| pts64 = &ts64;
# 78| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def77]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c: scope_hint: In function ‘___timer_gettime64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:44:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:351:7: note: in expansion of macro ‘ASMARGS_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:280:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_INLINE’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:335:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep.h:44:23: note: in expansion of macro ‘INTERNAL_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:41:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:41:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c: scope_hint: In function ‘___timer_gettime64’
# 42| if (ret == 0)
# 43| {
# 44|-> value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
# 45| value->it_value = valid_timespec_to_timespec64 (its32.it_value);
# 46| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def78]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c: scope_hint: In function ‘___timer_gettime64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:44:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Ub000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:351:7: note: in expansion of macro ‘ASMARGS_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:280:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_INLINE’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:335:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep.h:44:23: note: in expansion of macro ‘INTERNAL_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:41:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c:41:9: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_gettime.c: scope_hint: In function ‘___timer_gettime64’
# 42| if (ret == 0)
# 43| {
# 44|-> value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
# 45| value->it_value = valid_timespec_to_timespec64 (its32.it_value);
# 46| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def79]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c: scope_hint: In function ‘___timer_settime64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c:63:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c:20: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:89:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL4’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c:59:16: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c: scope_hint: In function ‘___timer_settime64’
# 61| if (retval == 0 && ovalue)
# 62| {
# 63|-> ovalue->it_interval = valid_timespec_to_timespec64 (oits32.it_interval);
# 64| ovalue->it_value = valid_timespec_to_timespec64 (oits32.it_value);
# 65| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def80]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c: scope_hint: In function ‘__timer_settime’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timer_settime.c:88:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U4000>’
# 86| int retval;
# 87|
# 88|-> its64.it_interval = valid_timespec_to_timespec64 (value->it_interval);
# 89| its64.it_value = valid_timespec_to_timespec64 (value->it_value);
# 90|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def81]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c: scope_hint: In function ‘__timerfd_gettime64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U3000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:351:7: note: in expansion of macro ‘ASMARGS_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:280:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_INLINE’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:335:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep.h:44:23: note: in expansion of macro ‘INTERNAL_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c: scope_hint: In function ‘__timerfd_gettime64’
# 40| if (retval == 0)
# 41| {
# 42|-> value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
# 43| value->it_value = valid_timespec_to_timespec64 (its32.it_value);
# 44| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def82]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c: scope_hint: In function ‘__timerfd_gettime64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:42:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U7000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:351:7: note: in expansion of macro ‘ASMARGS_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:280:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_INLINE’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:335:5: note: in expansion of macro ‘INTERNAL_SYSCALL_MAIN_2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/sysdep.h:44:23: note: in expansion of macro ‘INTERNAL_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:85:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL2’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c:39:16: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_gettime.c: scope_hint: In function ‘__timerfd_gettime64’
# 40| if (retval == 0)
# 41| {
# 42|-> value->it_interval = valid_timespec_to_timespec64 (its32.it_interval);
# 43| value->it_value = valid_timespec_to_timespec64 (its32.it_value);
# 44| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def83]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c: scope_hint: In function ‘__timerfd_settime64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c:55:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf000>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c:22: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:89:3: note: in expansion of macro ‘INLINE_SYSCALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:27:37: note: in expansion of macro ‘__INLINE_SYSCALL4’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:28:37: note: in expansion of macro ‘__SYSCALL_CONCAT_X’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:101:3: note: in expansion of macro ‘__SYSCALL_CONCAT’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysdep.h:109:3: note: in expansion of macro ‘__INLINE_SYSCALL_DISP’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c:51:13: note: in expansion of macro ‘INLINE_SYSCALL_CALL’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c: scope_hint: In function ‘__timerfd_settime64’
# 53| if (ret == 0 && ovalue != NULL)
# 54| {
# 55|-> ovalue->it_interval = valid_timespec_to_timespec64 (oits32.it_interval);
# 56| ovalue->it_value = valid_timespec_to_timespec64 (oits32.it_value);
# 57| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def84]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c: scope_hint: In function ‘__timerfd_settime’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/timerfd_settime.c:72:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<Uf000>’
# 70| int retval;
# 71|
# 72|-> its64.it_interval = valid_timespec_to_timespec64 (value->it_interval);
# 73| its64.it_value = valid_timespec_to_timespec64 (value->it_value);
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def85]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c: scope_hint: In function ‘__utimensat’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c:94:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U 980>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c: scope_hint: In function ‘__utimensat’
# 92| if (tsp)
# 93| {
# 94|-> tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
# 95| tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
# 96| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def86]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c: scope_hint: In function ‘__utimensat’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c:94:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U9980>’
glibc-2.39-build/glibc-2.39/sysdeps/nptl/pthread.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/include/pthread.h:1: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/x86/elision-conf.h:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/nptl/lowlevellock.h:23: included_from: Included from here.
glibc-2.39-build/glibc-2.39/nptl/descr.h:28: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/nptl/tls.h:114: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/i386/i686/nptl/tls.h:32: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/i386/sysdep.h:26: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c:21: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimensat.c: scope_hint: In function ‘__utimensat’
# 92| if (tsp)
# 93| {
# 94|-> tsp64[0] = valid_timespec_to_timespec64 (tsp[0]);
# 95| tsp64[1] = valid_timespec_to_timespec64 (tsp[1]);
# 96| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def87]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c: scope_hint: In function ‘__utimes64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c:29:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U45f0>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c: scope_hint: In function ‘__utimes64’
# 27| if (tvp != NULL)
# 28| {
# 29|-> ts64[0] = timeval64_to_timespec64 (tvp[0]);
# 30| ts64[1] = timeval64_to_timespec64 (tvp[1]);
# 31| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def88]
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c: scope_hint: In function ‘__utimes64’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c:29:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts64.<U65f0>’
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c:19: included_from: Included from here.
glibc-2.39-build/glibc-2.39/sysdeps/unix/sysv/linux/utimes.c: scope_hint: In function ‘__utimes64’
# 27| if (tvp != NULL)
# 28| {
# 29|-> ts64[0] = timeval64_to_timespec64 (tvp[0]);
# 30| ts64[1] = timeval64_to_timespec64 (tvp[1]);
# 31| }
Error: CPPCHECK_WARNING: [#def89]
glibc-2.39-build/glibc-2.39/sysdeps/x86_64/multiarch/strstr-avx512.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def90]
glibc-2.39-build/glibc-2.39/sysdeps/x86_64/multiarch/strstr-avx512.c: scope_hint: In function ‘__strstr_avx512’
glibc-2.39-build/glibc-2.39/sysdeps/x86_64/multiarch/strstr-avx512.c:110:11: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
glibc-2.39-build/glibc-2.39/sysdeps/x86_64/multiarch/strstr-avx512.c: scope_hint: In function ‘verify_string_match_avx512’
glibc-2.39-build/glibc-2.39/sysdeps/x86_64/multiarch/strstr-avx512.c:72:1: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
# 108| __mmask64 ned_load_mask = _bzhi_u64 (
# 109| FULL_MMASK64, 64 - ((uintptr_t) (ned) & 63));
# 110|-> __m512i ned_zmm = _mm512_maskz_loadu_epi8 (ned_load_mask, ned);
# 111| __mmask64 ned_nullmask
# 112| = _mm512_mask_testn_epi8_mask (ned_load_mask, ned_zmm, ned_zmm);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
glibc-2.39-build/glibc-2.39/timezone/zdump.c: scope_hint: In function ‘istrftime’
glibc-2.39-build/glibc-2.39/timezone/zdump.c:950:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
# 948| strcpy(f_prefix_copy + f_prefix_len, "X");
# 949| formatted_len = strftime(b, s, f_prefix_copy, tm);
# 950|-> if (oversized)
# 951| free(f_prefix_copy);
# 952| if (formatted_len == 0)
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-160.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | glibc-2.39.9000-29.fc41 |
diffbase-store-results-to | /tmp/tmp588hcyiy/glibc-2.39.9000-29.fc41.tar.xz |
diffbase-time-created | 2024-07-03 14:28:35 |
diffbase-time-finished | 2024-07-03 16:15:21 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp588hcyiy/glibc-2.39.9000-29.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp588hcyiy/glibc-2.39.9000-29.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-160.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | glibc-2.39-6.fc40 |
store-results-to | /tmp/tmp02wa3ukk/glibc-2.39-6.fc40.tar.xz |
time-created | 2024-07-03 12:51:12 |
time-finished | 2024-07-03 14:28:03 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp02wa3ukk/glibc-2.39-6.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp02wa3ukk/glibc-2.39-6.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |