Re: [ovs-dev] [PATCH] dpif: Fix leak and usage of uninitialized dp_extra_info.

2020-01-20 Thread Ilya Maximets
On 20.01.2020 17:38, Roi Dayan wrote: > > > On 2020-01-18 12:27 AM, Ilya Maximets wrote: >> 'dpif_probe_feature'/'revalidate' doesn't free the 'dp_extra_info' >> string. Also, all the implementations of dpif_flow_get() should >> initialize the value to avoid printing/freeing of random memory.

Re: [ovs-dev] [PATCH] dpif: Fix leak and usage of uninitialized dp_extra_info.

2020-01-20 Thread Roi Dayan
On 2020-01-18 12:27 AM, Ilya Maximets wrote: > 'dpif_probe_feature'/'revalidate' doesn't free the 'dp_extra_info' > string. Also, all the implementations of dpif_flow_get() should > initialize the value to avoid printing/freeing of random memory. > > 30 bytes in 1 blocks are definitely lost

[ovs-dev] [PATCH] dpif: Fix leak and usage of uninitialized dp_extra_info.

2020-01-17 Thread Ilya Maximets
'dpif_probe_feature'/'revalidate' doesn't free the 'dp_extra_info' string. Also, all the implementations of dpif_flow_get() should initialize the value to avoid printing/freeing of random memory. 30 bytes in 1 blocks are definitely lost in loss record 323 of 889 at 0x483AD19: realloc