[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1408191041020.1513-100000@iolanthe.rowland.org>
Date: Tue, 19 Aug 2014 10:41:44 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Arjun Sreedharan <arjun024@...il.com>
cc: gregkh@...uxfoundation.org, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usb: use kcalloc instead of kzalloc
On Tue, 19 Aug 2014, Arjun Sreedharan wrote:
> kcalloc has protection from integer overflows
> which could arise from the multiplication of
> number of elements and size.
>
> Signed-off-by: Arjun Sreedharan <arjun024@...il.com>
As Clemens pointed out, integer overflows cannot occur here. This
patch is not needed.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists