Re: [PATCH 1/2] usb: gadget: udc: Use scnprintf() instead of snprintf()

2018-02-26 Thread Jaejoong Kim
This is one patch file not series. Sorry for the patch numbering mistake. Thanks jaejoong 2018-02-27 11:04 GMT+09:00 Jaejoong Kim : > The show() method should use scnprintf() not snprintf() because snprintf() > may returns a value that exceeds its second argument. > >

[PATCH 1/2] usb: gadget: udc: Use scnprintf() instead of snprintf()

2018-02-26 Thread Jaejoong Kim
The show() method should use scnprintf() not snprintf() because snprintf() may returns a value that exceeds its second argument. Signed-off-by: Jaejoong Kim --- drivers/usb/gadget/udc/core.c | 4 ++-- drivers/usb/gadget/udc/dummy_hcd.c | 2 +- 2 files changed, 3