[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120402.173818.1786343249710498137.davem@davemloft.net>
Date: Mon, 02 Apr 2012 17:38:18 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: remi@...lab.net
Cc: levinsasha928@...il.com, remi.denis-courmont@...ia.com,
davej@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] phonet: Check input from user before allocating
From: "Rémi Denis-Courmont" <remi@...lab.net>
Date: Mon, 2 Apr 2012 22:00:40 +0300
> Le lundi 2 avril 2012 23:31:00 Sasha Levin, vous avez écrit :
>> + if (len > USHRT_MAX)
>> + return -E2BIG;
>
> I think EMSGSIZE is specified in that case.
Agreed.
--
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