[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140611.154054.1561256983795392462.davem@davemloft.net>
Date: Wed, 11 Jun 2014 15:40:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: olof@...om.net, george.cherian@...com, christian.riesch@...cron.at,
zonque@...il.com, bigeasy@...utronix.de, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] drivers: net: davinci_cpdma: double free on error
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 11 Jun 2014 11:16:51 +0300
> We recently change the kzalloc() to devm_kzalloc() so freeing "ctlr"
> here could lead to a double free.
>
> Fixes: e194312854ed ('drivers: net: davinci_cpdma: Convert kzalloc() to devm_kzalloc().')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists