[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110115.205208.104051310.davem@davemloft.net>
Date: Sat, 15 Jan 2011 20:52:08 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: ericvh@...il.com, sripathik@...ibm.com, jvrao@...ux.vnet.ibm.com,
aneesh.kumar@...ux.vnet.ibm.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] 9p: fix min_t() casting
From: Dan Carpenter <error27@...il.com>
Date: Sat, 15 Jan 2011 23:35:39 +0300
> The intent here was to cap the length to USHRT_MAX, but what the
> code actually does is it just casts the return from strlen() to
> unsigned short and truncates the significant bits away.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
If you want me to apply this, it doesn't apply cleanly to net-2.6
at all.
--
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