[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140214.001252.1994875881466995036.davem@davemloft.net>
Date: Fri, 14 Feb 2014 00:12:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: wuzhy@...ux.vnet.ibm.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] virtio_net: fix the potential NULL pointer in
xmit_skb()
From: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
Date: Fri, 14 Feb 2014 12:00:08 +0800
> The pointer hdr isn't assigned before hdr->mhdr and hdr->hdr
> are used, so it could be one invalid pointer.
>
> Signed-off-by: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
sizeof(x) does not evaluate any dereferences made by 'x'
--
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