Re: [dpdk-dev] [PATCH] ipc: fix undefined behavior in no-shconf mode

2018-10-24 Thread Burakov, Anatoly
On 24-Oct-18 11:05 AM, Darek Stojaczyk wrote: In no-shconf mode the rte_mp_request_sync() wasn't initializing the `reply` parameter, which contained e.g. a number of sent requests. Callers of rte_mp_request_sync() might check that param afterwards and might read potentially unitialized memory. T

[dpdk-dev] [PATCH] ipc: fix undefined behavior in no-shconf mode

2018-10-24 Thread Darek Stojaczyk
In no-shconf mode the rte_mp_request_sync() wasn't initializing the `reply` parameter, which contained e.g. a number of sent requests. Callers of rte_mp_request_sync() might check that param afterwards and might read potentially unitialized memory. The no-shconf check that makes us return early (w