Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/liburcu-0.12.1/src/urcu.c Examining data/liburcu-0.12.1/src/workqueue.h Examining data/liburcu-0.12.1/src/urcu-utils.h Examining data/liburcu-0.12.1/src/workqueue.c Examining data/liburcu-0.12.1/src/urcu-call-rcu-impl.h Examining data/liburcu-0.12.1/src/rculfhash-mm-order.c Examining data/liburcu-0.12.1/src/urcu-die.h Examining data/liburcu-0.12.1/src/lfstack.c Examining data/liburcu-0.12.1/src/rculfhash.c Examining data/liburcu-0.12.1/src/rculfqueue.c Examining data/liburcu-0.12.1/src/compat_arch_x86.c Examining data/liburcu-0.12.1/src/compat_futex.c Examining data/liburcu-0.12.1/src/urcu-pointer.c Examining data/liburcu-0.12.1/src/rculfstack.c Examining data/liburcu-0.12.1/src/wfstack.c Examining data/liburcu-0.12.1/src/rculfhash-internal.h Examining data/liburcu-0.12.1/src/urcu-wait.h Examining data/liburcu-0.12.1/src/urcu-bp.c Examining data/liburcu-0.12.1/src/rculfhash-mm-chunk.c Examining data/liburcu-0.12.1/src/compat-rand.h Examining data/liburcu-0.12.1/src/wfcqueue.c Examining data/liburcu-0.12.1/src/wfqueue.c Examining data/liburcu-0.12.1/src/urcu-defer-impl.h Examining data/liburcu-0.12.1/src/rculfhash-mm-mmap.c Examining data/liburcu-0.12.1/src/urcu-qsbr.c Examining data/liburcu-0.12.1/src/compat-getcpu.h Examining data/liburcu-0.12.1/tests/unit/test_uatomic.c Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor-memb.c Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor-qsbr.c Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor-bp.c Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor-signal.c Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor.h Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor-mb.c Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor_single_unit.c Examining data/liburcu-0.12.1/tests/unit/test_urcu_multiflavor.c Examining data/liburcu-0.12.1/tests/regression/urcutorture.c Examining data/liburcu-0.12.1/tests/regression/test_urcu_fork.c Examining data/liburcu-0.12.1/tests/regression/rcutorture.h Examining data/liburcu-0.12.1/tests/utils/tap.h Examining data/liburcu-0.12.1/tests/utils/tap.c Examining data/liburcu-0.12.1/tests/common/debug-yield.h Examining data/liburcu-0.12.1/tests/common/cpuset.h Examining data/liburcu-0.12.1/tests/common/debug-yield.c Examining data/liburcu-0.12.1/tests/common/api.h Examining data/liburcu-0.12.1/tests/common/thread-id.h Examining data/liburcu-0.12.1/tests/benchmark/test_rwlock.c Examining data/liburcu-0.12.1/tests/benchmark/test_perthreadlock_timing.c Examining data/liburcu-0.12.1/tests/benchmark/test_cycles_per_loop.c Examining data/liburcu-0.12.1/tests/benchmark/test_perthreadlock.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_assign.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_bp.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_hash_rw.c Examining data/liburcu-0.12.1/tests/benchmark/test_mutex.c Examining data/liburcu-0.12.1/tests/benchmark/test_looplen.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_gc.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_timing.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_wfq.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs_rcu.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_wfs.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_gc.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.h Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_defer.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_wfcq.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_timing.c Examining data/liburcu-0.12.1/tests/benchmark/test_rwlock_timing.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_lfq.c Examining data/liburcu-0.12.1/tests/benchmark/test_urcu_hash_unique.c Examining data/liburcu-0.12.1/doc/examples/hlist/cds_hlist_del_rcu.c Examining data/liburcu-0.12.1/doc/examples/hlist/cds_hlist_add_head_rcu.c Examining data/liburcu-0.12.1/doc/examples/hlist/cds_hlist_for_each_entry_rcu.c Examining data/liburcu-0.12.1/doc/examples/hlist/cds_hlist_for_each_rcu.c Examining data/liburcu-0.12.1/doc/examples/wfstack/cds_wfs_push.c Examining data/liburcu-0.12.1/doc/examples/wfstack/cds_wfs_pop_all_blocking.c Examining data/liburcu-0.12.1/doc/examples/wfstack/cds_wfs_pop.c Examining data/liburcu-0.12.1/doc/examples/lfstack/cds_lfs_pop_all_blocking.c Examining data/liburcu-0.12.1/doc/examples/lfstack/cds_lfs_push.c Examining data/liburcu-0.12.1/doc/examples/lfstack/cds_lfs_pop_blocking.c Examining data/liburcu-0.12.1/doc/examples/wfcqueue/cds_wfcq_splice.c Examining data/liburcu-0.12.1/doc/examples/wfcqueue/cds_wfcq_dequeue.c Examining data/liburcu-0.12.1/doc/examples/wfcqueue/cds_wfcq_enqueue.c Examining data/liburcu-0.12.1/doc/examples/rculfqueue/cds_lfq_enqueue.c Examining data/liburcu-0.12.1/doc/examples/rculfqueue/cds_lfq_dequeue.c Examining data/liburcu-0.12.1/doc/examples/rculfhash/cds_lfht_for_each_entry_duplicate.c Examining data/liburcu-0.12.1/doc/examples/rculfhash/cds_lfht_add.c Examining data/liburcu-0.12.1/doc/examples/rculfhash/cds_lfht_add_replace.c Examining data/liburcu-0.12.1/doc/examples/rculfhash/jhash.h Examining data/liburcu-0.12.1/doc/examples/rculfhash/cds_lfht_del.c Examining data/liburcu-0.12.1/doc/examples/rculfhash/cds_lfht_destroy.c Examining data/liburcu-0.12.1/doc/examples/rculfhash/cds_lfht_lookup.c Examining data/liburcu-0.12.1/doc/examples/rculfhash/cds_lfht_add_unique.c Examining data/liburcu-0.12.1/doc/examples/list/cds_list_replace_rcu.c Examining data/liburcu-0.12.1/doc/examples/list/cds_list_for_each_rcu.c Examining data/liburcu-0.12.1/doc/examples/list/cds_list_add_rcu.c Examining data/liburcu-0.12.1/doc/examples/list/cds_list_add_tail_rcu.c Examining data/liburcu-0.12.1/doc/examples/list/cds_list_del_rcu.c Examining data/liburcu-0.12.1/doc/examples/list/cds_list_for_each_entry_rcu.c Examining data/liburcu-0.12.1/doc/examples/urcu-flavors/bp.c Examining data/liburcu-0.12.1/doc/examples/urcu-flavors/qsbr.c Examining data/liburcu-0.12.1/doc/examples/urcu-flavors/signal.c Examining data/liburcu-0.12.1/doc/examples/urcu-flavors/mb.c Examining data/liburcu-0.12.1/doc/examples/urcu-flavors/membarrier.c Examining data/liburcu-0.12.1/include/urcu-call-rcu.h Examining data/liburcu-0.12.1/include/urcu-defer.h Examining data/liburcu-0.12.1/include/urcu.h Examining data/liburcu-0.12.1/include/urcu-bp.h Examining data/liburcu-0.12.1/include/urcu-pointer.h Examining data/liburcu-0.12.1/include/urcu/rculist.h Examining data/liburcu-0.12.1/include/urcu/pointer.h Examining data/liburcu-0.12.1/include/urcu/compiler.h Examining data/liburcu-0.12.1/include/urcu/arch/gcc.h Examining data/liburcu-0.12.1/include/urcu/arch/riscv.h Examining data/liburcu-0.12.1/include/urcu/arch/unknown.h Examining data/liburcu-0.12.1/include/urcu/arch/aarch64.h Examining data/liburcu-0.12.1/include/urcu/arch/generic.h Examining data/liburcu-0.12.1/include/urcu/arch/hppa.h Examining data/liburcu-0.12.1/include/urcu/arch/nios2.h Examining data/liburcu-0.12.1/include/urcu/arch/alpha.h Examining data/liburcu-0.12.1/include/urcu/arch/tile.h Examining data/liburcu-0.12.1/include/urcu/arch/mips.h Examining data/liburcu-0.12.1/include/urcu/arch/sparc64.h Examining data/liburcu-0.12.1/include/urcu/arch/ia64.h Examining data/liburcu-0.12.1/include/urcu/arch/arm.h Examining data/liburcu-0.12.1/include/urcu/arch/m68k.h Examining data/liburcu-0.12.1/include/urcu/arch/ppc.h Examining data/liburcu-0.12.1/include/urcu/arch/x86.h Examining data/liburcu-0.12.1/include/urcu/arch/s390.h Examining data/liburcu-0.12.1/include/urcu/lfstack.h Examining data/liburcu-0.12.1/include/urcu/call-rcu.h Examining data/liburcu-0.12.1/include/urcu/map/urcu-mb.h Examining data/liburcu-0.12.1/include/urcu/map/urcu.h Examining data/liburcu-0.12.1/include/urcu/map/urcu-bp.h Examining data/liburcu-0.12.1/include/urcu/map/urcu-memb.h Examining data/liburcu-0.12.1/include/urcu/map/urcu-signal.h Examining data/liburcu-0.12.1/include/urcu/map/clear.h Examining data/liburcu-0.12.1/include/urcu/map/urcu-qsbr.h Examining data/liburcu-0.12.1/include/urcu/urcu-mb.h Examining data/liburcu-0.12.1/include/urcu/urcu-futex.h Examining data/liburcu-0.12.1/include/urcu/urcu.h Examining data/liburcu-0.12.1/include/urcu/wfstack.h Examining data/liburcu-0.12.1/include/urcu/ref.h Examining data/liburcu-0.12.1/include/urcu/tls-compat.h Examining data/liburcu-0.12.1/include/urcu/uatomic/gcc.h Examining data/liburcu-0.12.1/include/urcu/uatomic/riscv.h Examining data/liburcu-0.12.1/include/urcu/uatomic/unknown.h Examining data/liburcu-0.12.1/include/urcu/uatomic/aarch64.h Examining data/liburcu-0.12.1/include/urcu/uatomic/generic.h Examining data/liburcu-0.12.1/include/urcu/uatomic/hppa.h Examining data/liburcu-0.12.1/include/urcu/uatomic/nios2.h Examining data/liburcu-0.12.1/include/urcu/uatomic/alpha.h Examining data/liburcu-0.12.1/include/urcu/uatomic/tile.h Examining data/liburcu-0.12.1/include/urcu/uatomic/mips.h Examining data/liburcu-0.12.1/include/urcu/uatomic/sparc64.h Examining data/liburcu-0.12.1/include/urcu/uatomic/ia64.h Examining data/liburcu-0.12.1/include/urcu/uatomic/arm.h Examining data/liburcu-0.12.1/include/urcu/uatomic/m68k.h Examining data/liburcu-0.12.1/include/urcu/uatomic/ppc.h Examining data/liburcu-0.12.1/include/urcu/uatomic/x86.h Examining data/liburcu-0.12.1/include/urcu/uatomic/s390.h Examining data/liburcu-0.12.1/include/urcu/urcu-bp.h Examining data/liburcu-0.12.1/include/urcu/urcu-memb.h Examining data/liburcu-0.12.1/include/urcu/urcu-signal.h Examining data/liburcu-0.12.1/include/urcu/rculfhash.h Examining data/liburcu-0.12.1/include/urcu/system.h Examining data/liburcu-0.12.1/include/urcu/static/pointer.h Examining data/liburcu-0.12.1/include/urcu/static/lfstack.h Examining data/liburcu-0.12.1/include/urcu/static/urcu-mb.h Examining data/liburcu-0.12.1/include/urcu/static/urcu.h Examining data/liburcu-0.12.1/include/urcu/static/wfstack.h Examining data/liburcu-0.12.1/include/urcu/static/urcu-bp.h Examining data/liburcu-0.12.1/include/urcu/static/urcu-memb.h Examining data/liburcu-0.12.1/include/urcu/static/urcu-signal.h Examining data/liburcu-0.12.1/include/urcu/static/wfcqueue.h Examining data/liburcu-0.12.1/include/urcu/static/wfqueue.h Examining data/liburcu-0.12.1/include/urcu/static/rculfstack.h Examining data/liburcu-0.12.1/include/urcu/static/urcu-signal-nr.h Examining data/liburcu-0.12.1/include/urcu/static/urcu-qsbr.h Examining data/liburcu-0.12.1/include/urcu/static/urcu-common.h Examining data/liburcu-0.12.1/include/urcu/static/rculfqueue.h Examining data/liburcu-0.12.1/include/urcu/rcuhlist.h Examining data/liburcu-0.12.1/include/urcu/wfcqueue.h Examining data/liburcu-0.12.1/include/urcu/wfqueue.h Examining data/liburcu-0.12.1/include/urcu/rculfstack.h Examining data/liburcu-0.12.1/include/urcu/defer.h Examining data/liburcu-0.12.1/include/urcu/urcu_ref.h Examining data/liburcu-0.12.1/include/urcu/uatomic_arch.h Examining data/liburcu-0.12.1/include/urcu/hlist.h Examining data/liburcu-0.12.1/include/urcu/list.h Examining data/liburcu-0.12.1/include/urcu/urcu-qsbr.h Examining data/liburcu-0.12.1/include/urcu/syscall-compat.h Examining data/liburcu-0.12.1/include/urcu/flavor.h Examining data/liburcu-0.12.1/include/urcu/futex.h Examining data/liburcu-0.12.1/include/urcu/debug.h Examining data/liburcu-0.12.1/include/urcu/rculfqueue.h Examining data/liburcu-0.12.1/include/urcu/cds.h Examining data/liburcu-0.12.1/include/urcu-flavor.h Examining data/liburcu-0.12.1/include/urcu-qsbr.h FINAL RESULTS: data/liburcu-0.12.1/src/rculfhash-internal.h:33:38: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define dbg_printf(fmt, args...) printf("[debug rculfhash] " fmt, ## args) data/liburcu-0.12.1/src/rculfhash-internal.h:39:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("[debug rculfhash] " fmt, ## args); \ data/liburcu-0.12.1/tests/benchmark/test_mutex.c:78:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_perthreadlock.c:82:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_rwlock.c:82:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu.c:73:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_assign.c:77:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_bp.c:73:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_defer.c:78:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_gc.c:86:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.h:167:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, ## args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_lfq.c:71:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs.c:85:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, ## args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs_rcu.c:75:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr.c:73:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_gc.c:84:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_wfcq.c:83:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, ## args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_wfq.c:75:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); \ data/liburcu-0.12.1/tests/benchmark/test_urcu_wfs.c:86:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, ## args); \ data/liburcu-0.12.1/tests/utils/tap.c:280:2: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, ap); data/liburcu-0.12.1/tests/utils/tap.c:301:2: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, ap); data/liburcu-0.12.1/tests/utils/tap.c:152:6: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(getenv("HARNESS_ACTIVE") != NULL) data/liburcu-0.12.1/tests/benchmark/test_mutex.c:290:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_mutex.c:300:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_mutex.c:307:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_mutex.c:314:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_perthreadlock.c:301:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_perthreadlock.c:311:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_perthreadlock.c:318:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_perthreadlock.c:325:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_perthreadlock_timing.c:161:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_read = atoi(argv[1]); data/liburcu-0.12.1/tests/benchmark/test_perthreadlock_timing.c:162:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_write = atoi(argv[2]); data/liburcu-0.12.1/tests/benchmark/test_rwlock.c:315:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_rwlock.c:325:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_rwlock.c:332:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_rwlock.c:339:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_rwlock_timing.c:160:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_read = atoi(argv[1]); data/liburcu-0.12.1/tests/benchmark/test_rwlock_timing.c:161:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_write = atoi(argv[2]); data/liburcu-0.12.1/tests/benchmark/test_urcu.c:304:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu.c:314:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu.c:321:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu.c:328:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_assign.c:337:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_assign.c:347:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_assign.c:354:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_assign.c:361:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_bp.c:299:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_bp.c:309:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_bp.c:316:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_bp.c:323:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_defer.c:326:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_defer.c:336:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_defer.c:343:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_defer.c:350:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_gc.c:347:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_gc.c:357:20: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). reclaim_batch = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_gc.c:364:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_gc.c:371:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_gc.c:378:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:212:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1]; data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:361:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:372:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:380:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:391:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). init_hash_size = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:399:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). min_hash_alloc_size = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:407:28: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). max_hash_buckets_size = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:427:20: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). init_populate = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:452:25: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lookup_pool_offset = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:455:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). write_pool_offset = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:458:23: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). init_pool_offset = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:461:23: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lookup_pool_size = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:464:22: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). write_pool_size = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:467:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). init_pool_size = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:476:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nr_hash_chains = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:690:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[1] = { 0x42 }; data/liburcu-0.12.1/tests/benchmark/test_urcu_hash_rw.c:53:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[1] = { 0x42 }; data/liburcu-0.12.1/tests/benchmark/test_urcu_hash_unique.c:53:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[1] = { 0x42 }; data/liburcu-0.12.1/tests/benchmark/test_urcu_lfq.c:319:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfq.c:329:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfq.c:336:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs.c:386:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs.c:396:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs.c:403:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs_rcu.c:321:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs_rcu.c:331:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_lfs_rcu.c:338:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr.c:310:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr.c:320:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr.c:327:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr.c:334:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_gc.c:349:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_gc.c:359:20: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). reclaim_batch = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_gc.c:366:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_gc.c:373:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_gc.c:380:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_timing.c:175:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_read = atoi(argv[1]); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_timing.c:176:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_write = atoi(argv[2]); data/liburcu-0.12.1/tests/benchmark/test_urcu_timing.c:174:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_read = atoi(argv[1]); data/liburcu-0.12.1/tests/benchmark/test_urcu_timing.c:175:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_write = atoi(argv[2]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfcq.c:394:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfcq.c:404:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfcq.c:411:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfq.c:291:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfq.c:301:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfq.c:308:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfs.c:381:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). a = atoi(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfs.c:391:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rduration = atol(argv[++i]); data/liburcu-0.12.1/tests/benchmark/test_urcu_wfs.c:398:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). wdelay = atol(argv[++i]); data/liburcu-0.12.1/tests/regression/rcutorture.h:87:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char argsbuf[64]; data/liburcu-0.12.1/tests/benchmark/test_perthreadlock_timing.c:139:4: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1); data/liburcu-0.12.1/tests/benchmark/test_rwlock_timing.c:138:4: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1); data/liburcu-0.12.1/tests/benchmark/test_urcu_hash.c:215:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(count_pipe[0], buf, 1); data/liburcu-0.12.1/tests/benchmark/test_urcu_qsbr_timing.c:153:4: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1); data/liburcu-0.12.1/tests/benchmark/test_urcu_timing.c:152:4: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1); data/liburcu-0.12.1/tests/common/debug-yield.h:57:4: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(rand_r(&URCU_TLS(rcu_rand_yield)) % MAX_SLEEP); data/liburcu-0.12.1/tests/common/debug-yield.h:64:4: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(rand_r(&URCU_TLS(rcu_rand_yield)) % MAX_SLEEP); ANALYSIS SUMMARY: Hits = 116 Lines analyzed = 36526 in approximately 0.92 seconds (39726 lines/second) Physical Source Lines of Code (SLOC) = 22154 Hits@level = [0] 482 [1] 7 [2] 87 [3] 1 [4] 21 [5] 0 Hits@level+ = [0+] 598 [1+] 116 [2+] 109 [3+] 22 [4+] 21 [5+] 0 Hits/KSLOC@level+ = [0+] 26.9929 [1+] 5.23607 [2+] 4.9201 [3+] 0.993049 [4+] 0.94791 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.