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

Andrew Rybchenko arybchenko at solarflare.com
Thu Jul 19 19:08:13 CEST 2018


On 19.07.2018 19:20, 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>

I like the idea, so
Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>


More information about the dev mailing list