afe67d1414
For __rte_node_enqueue_prologue(), if the number of objs is more than
the node->size * 2, the extra objs will write out of bounds memory.
It should use __rte_node_stream_alloc_size() to request enough memory.
And for rte_node_next_stream_put(), it will re-allocate a small size,
when the node free space is small and new objs is less than the current
node->size. Some objs pointers behind new size may be lost. And it will
cause memory leak. It should request enough size of memory, containing
the original objs and new objs at least.
Fixes:
|
||
---|---|---|
.. | ||
graph_debug.c | ||
graph_ops.c | ||
graph_populate.c | ||
graph_private.h | ||
graph_stats.c | ||
graph.c | ||
meson.build | ||
node.c | ||
rte_graph_worker.h | ||
rte_graph.h | ||
version.map |