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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> -----Original Message-----
> From: Philippe De Swert [mailto:philippedeswert@xxxxxxxxx]
> Sent: Tuesday, May 13, 2014 4:13 PM
> To: Krzysztof Opasiak; linux-usb@xxxxxxxxxxxxxxx
> Cc: mporter@xxxxxxxxxx; Philippe De Swert
> Subject: [PATCH v2 2/4] libusbg: Fix buffer overrun issue.
> CID#56128
> 
> 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_STR_LENGTH which
> is 256 bytes.

Please use usbg_read_string() and usbg_read_buf() as described in
previous message ( append () to function names).

--
BR's
Krzysztof Opasiak


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux