https://bugs.linaro.org/show_bug.cgi?id=2911
Bug ID: 2911
Summary: unchecked return value may result in out of bounds
access
Product: OpenDataPlane - linux- generic reference
Version: v1.14.0.0
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: ---
Component: Packet IO
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
in function netmap_pkt_to_odp() from file
platform/linux-generic/pktio/netmap.c, the return value of packet_alloc_multi()
is not properly checked. It may return a negative number on error, in which
case the following loop will eventually result in an out of bounds access of
the slot_tlb array.
--
You are receiving this mail because:
You are on the CC list for the bug.