mirror of https://github.com/ARMmbed/mbed-os.git
The function vsnprintf does not properly handle a size of zero for the destination buffer, and will write data to it. If the buffer is set to null this will cause a hardfault. This patch adds a workaround for this bug by using a buffer of size 1. |
||
---|---|---|
.. | ||
USBDevice | ||
USBHost | ||
doc | ||
dsp | ||
fs | ||
mbed | ||
net | ||
rpc | ||
rtos | ||
tests |