This patch prevents eem_read_cb from trying to allocate a lot of memory. It may happen that EEM payload size is zero, the eem_read_cb then tries to allocate a buffer which is 0xfffc bytes large and luckily blocks. Signed-off-by: Johann Fischer <j.fischer@phytec.de> |
||
|---|---|---|
| .. | ||
| hid | ||
| netusb | ||
| bluetooth.c | ||
| cdc_acm.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| mass_storage.c | ||
| usb_dfu.c | ||