commit | 27a78d6a283d6782438f72306746afe4bf44c215 | [log] [tgz] |
---|---|---|
author | Anton Tikhomirov <av.tikhomirov@samsung.com> | Thu Feb 23 15:38:46 2012 +0900 |
committer | Felipe Balbi <balbi@ti.com> | Fri Mar 02 12:12:04 2012 +0200 |
tree | f4b1e2c44e2bed22e593e7071092c272c25ba1e7 | |
parent | 8d62cd65d74d0e241b3a152f7347bb66126b705b [diff] |
usb: dwc3: use proper function for setting endpoint name 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. Cc: stable@vger.kernel.org Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>