https://bugs.linaro.org/show_bug.cgi?id=1518
Bug ID: 1518
Summary: CID 88336: Wrong sizeof argument odp_l2fwd.c
Product: OpenDataPlane
Version: 1.0.3
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: ---
Component: Performance
Assignee: [email protected]
Reporter: [email protected]
gbl_args->pktios[i] = ODP_PKTIO_INVALID;
memset(thread_tbl, 0, sizeof(thread_tbl));
CID 88336 (#1 of 1): Wrong sizeof argument (SIZEOF_MISMATCH)
suspicious_sizeof: Passing argument 16UL /* sizeof (stats_t) */ * num_workers
to function calloc and then casting the return value to stats_t ** is
suspicious.
stats_t **stats = calloc(1, sizeof(stats_t) * num_workers);
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp