[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120814.170010.1136116037664193225.davem@davemloft.net>
Date: Tue, 14 Aug 2012 17:00:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Julia.Lawall@...6.fr
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] drivers/net/ethernet/ti/davinci_cpdma.c: Remove
potential NULL dereference
From: Julia Lawall <Julia.Lawall@...6.fr>
Date: Tue, 14 Aug 2012 17:49:47 +0200
> From: Julia Lawall <Julia.Lawall@...6.fr>
>
> If the NULL test is necessary, the initialization involving a dereference of
> the tested value should be moved after the NULL test.
>
> The sematic patch that fixes this problem is as follows:
> (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists