[dpdk-dev] [PATCH v2] mem: poison memory when freed

Thomas Monjalon thomas at monjalon.net
Wed Mar 27 11:26:28 CET 2019


16/02/2019 02:50, Stephen Hemminger:
> 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>
> Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
> Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

Applied, thanks





More information about the dev mailing list