[dpdk-dev] [RFC v2] mem: poison memory when freed
Burakov, Anatoly
anatoly.burakov at intel.com
Fri Jul 20 15:09:10 CEST 2018
On 19-Jul-18 5:20 PM, Stephen Hemminger wrote:
> DPDK malloc library allows broken programs to work because
> the semantics of zmalloc and malloc are the same.
>
> This patch enables a more secure model which will catch
> (and crash) programs that reuse memory already freed if
> RTE_MALLOC_DEBUG is enabled.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
Making it not default behavior makes it suitable for inclusion without
deprecation notices IMO.
Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
--
Thanks,
Anatoly
More information about the dev
mailing list