[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPgLHd_Xty8giagdEBQDa6rUvG4jVTut8P9vYv0ywyVYF6=9NQ@mail.gmail.com>
Date: Tue, 9 Apr 2013 11:05:20 +0800
From: Wei Yongjun <weiyj.lk@...il.com>
To: davem@...emloft.net
Cc: ralf@...ux-mips.org, minipli@...glemail.com,
yongjun_wei@...ndmicro.com.cn, linux-hams@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH -next] netrom: fix invalid use of sizeof in nr_recvmsg()
On 04/09/2013 10:49 AM, David Miller wrote:
> From: Wei Yongjun <weiyj.lk@...il.com>
> Date: Tue, 9 Apr 2013 10:07:19 +0800
>
>> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>>
>> sizeof() when applied to a pointer typed expression gives the size of the
>> pointer, not that of the pointed data.
>> Introduced by commit 3ce5ef(netrom: fix info leak via msg_name in nr_recvmsg)
>>
>> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> Any particular reason you're:
>
> 1) Targetting the wrong tree. This was a bug fix that went into
> 'net', therefore targetting -next is not correct. This fix
> need to go into 'net'.
I found this from the linux-next.git tree, but this commit is not exists
at linux.git tree, and I forgot to check net.git, sorry for that.
I will pay more attention next time.
>
> 2) Not even bothering to CC: the person whose change you are
> correcting?
>
> Anyways, applied to 'net', thanks.
>
>
>
--
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