[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEH94Lg_Oe77BDWhvJ3BZJsu0ZzaDkr5Rq5RO7oVKjJd75VkcQ@mail.gmail.com>
Date: Fri, 14 Feb 2014 13:25:36 +0800
From: Zhi Yong Wu <zwu.kernel@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH] virtio_net: fix the potential NULL pointer in xmit_skb()
On Fri, Feb 14, 2014 at 1:12 PM, David Miller <davem@...emloft.net> wrote:
> 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'
thanks for your explanation.
> --
> 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
--
Regards,
Zhi Yong Wu
--
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