[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190131072758.GK3581@gauss3.secunet.de>
Date: Thu, 31 Jan 2019 08:27:58 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Ramin Farajpour Cami <ramin.blackhat@...il.com>
CC: Eric Dumazet <eric.dumazet@...il.com>, <davem@...emloft.net>,
Herbert Xu <herbert@...dor.apana.org.au>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH] net: esp4: Fix double free on esp4 functions
On Thu, Jan 31, 2019 at 06:32:07AM +0000, Ramin Farajpour Cami wrote:
> Hi Eric,
>
> I going to for avoid double free of resource identifiers we should set
> variables initialized in "tmp/key" to NULL if an error occurred int the
> "esp_init_authenc()" and "esp_output_tail()" attempts to free the memory
> again.my means like this patch c7055fd15ff46d92eb0dd1c16a4fe010d58224c8
> <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c7055fd15ff46d92eb0dd1c16a4fe010d58224c8>
There is a big difference between the above-noted patch and
your patch. You really have to understand the code you are
trying to change.
Powered by blists - more mailing lists