3d6e9dd493
During adapter create, memory is allocated for storing event port
configuration which is freed during adapter free. The following
error is seen during free "EAL: Error: Invalid memory"
The service data pointer storage for txa_service_data_array is
allocated during adapter create with incorrect size which is less
than the required size.
Initialization of this memory causes buffer overflow and result in
metadata overwrite of event port config memory allocated above
and results in the above error message during free.
Allocating the correct size of memory for txa_service_data_array
prevents overwriting other memory areas like event port config
memory.
Fixes:
|
||
---|---|---|
.. | ||
event_timer_adapter_pmd.h | ||
eventdev_pmd_pci.h | ||
eventdev_pmd_vdev.h | ||
eventdev_pmd.h | ||
eventdev_private.c | ||
eventdev_trace_points.c | ||
eventdev_trace.h | ||
meson.build | ||
rte_event_crypto_adapter.c | ||
rte_event_crypto_adapter.h | ||
rte_event_eth_rx_adapter.c | ||
rte_event_eth_rx_adapter.h | ||
rte_event_eth_tx_adapter.c | ||
rte_event_eth_tx_adapter.h | ||
rte_event_ring.c | ||
rte_event_ring.h | ||
rte_event_timer_adapter.c | ||
rte_event_timer_adapter.h | ||
rte_eventdev_core.h | ||
rte_eventdev_trace_fp.h | ||
rte_eventdev.c | ||
rte_eventdev.h | ||
version.map |