https://bugs.linaro.org/show_bug.cgi?id=1340
Bug ID: 1340
Summary: CID 88056: Error handling issues: odp_pktio.c
Product: OpenDataPlane
Version: 1.0
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: Packet IO
Assignee: maxim.uva...@linaro.org
Reporter: mike.hol...@linaro.org
CC: lng-odp@lists.linaro.org
/test/validation/odp_pktio.c: 262 in create_pktio()
256 params.type = ODP_POOL_PACKET;
257
258 snprintf(pool_name, sizeof(pool_name), "pkt_pool_%s", iface);
259
260 pool = odp_pool_lookup(pool_name);
261 if (pool != ODP_POOL_INVALID)
>>> CID 88056: Error handling issues (CHECKED_RETURN)
>>> Calling "odp_pool_destroy" without checking return value (as is done
>>> elsewhere 17 out of 19 times).
262 odp_pool_destroy(pool);
263
264 pool = odp_pool_create(pool_name, ODP_SHM_NULL, ¶ms);
265 CU_ASSERT(pool != ODP_POOL_INVALID);
266
267 pktio = odp_pktio_open(iface, pool);
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp