From: Anton Tikhomirov Date: Thu, 23 Feb 2012 06:38:46 +0000 (+0900) Subject: usb: dwc3: use proper function for setting endpoint name X-Git-Tag: v3.2.14~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=289bd26e44bc08df86466f7bdf5257d28765b5b1;p=pandora-kernel.git usb: dwc3: use proper function for setting endpoint name commit 27a78d6a283d6782438f72306746afe4bf44c215 upstream. It's wrong to use the size of array as an argument for strncat. Memory corruption is possible. strlcat is exactly what we need here. Signed-off-by: Anton Tikhomirov Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed