Re: [PATCH 2/3] libusbg: Fix buffer overrun issue. CID#56128

2014-05-13 Thread Philippe De Swert
Hi, On 12/05/14 09:58, Krzysztof Opasiak wrote: Avoid calling usbg_read_string with a 40 byte long buffer, which in turn is filled in by usbg_read_buf which uses a maximum of USBG_MAX_LENGTH which is 256 bytes. Signed-off-by: Philippe De Swert --- src/usbg.c | 2 +- 1 file changed, 1 insert

RE: [PATCH 2/3] libusbg: Fix buffer overrun issue. CID#56128

2014-05-11 Thread Krzysztof Opasiak
Hi, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of philippedesw...@gmail.com > Sent: Friday, May 09, 2014 2:51 PM > To: philippedesw...@gmail.com; linux-usb@vger.kernel.org; > mpor...@linaro.org > Cc: Philippe De Swert