[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151118.150617.2029772013530226874.davem@davemloft.net>
Date: Wed, 18 Nov 2015 15:06:17 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: shemming@...cade.com
Cc: khc@...waw.pl, netdev@...r.kernel.org
Subject: Re: [PATCH] hdlc: fix null-deref on allocation failure
From: Stephen Hemminger <shemming@...cade.com>
Date: Tue, 17 Nov 2015 14:26:06 -0800
> If alloc_netdev() failed and return NULL, then the next instruction
> would dereference it. Found by Coverity.
>
> Compile tested only. Not sure if anyone still uses this driver
> (or the whole WAN subsystem).
>
> Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
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