Re: [dpdk-dev] [PATCH v3 1/3] vhost: fix malloc in rte_vhost_get_mem_table()

2017-05-11 Thread Jens Freimann
On Thu, May 11, 2017 at 04:33:10PM +0200, Dariusz Stojaczyk wrote: > Amount of allocated memory was too small, causing buffer overflow. > > Signed-off-by: Dariusz Stojaczyk > --- > lib/librte_vhost/vhost.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Jens Freimann

[dpdk-dev] [PATCH v3 1/3] vhost: fix malloc in rte_vhost_get_mem_table()

2017-05-11 Thread Dariusz Stojaczyk
Amount of allocated memory was too small, causing buffer overflow. Signed-off-by: Dariusz Stojaczyk --- lib/librte_vhost/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost.c b/lib/librte_vhost/vhost.c index 0b19d2e..1f565fb 100644 --- a/lib/librte_