The function did not check if the provided string had a zero length before starting to truncate, which meant that last_byte_p could possible have pointed to the value before the string. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| base64.c | ||
| bitarray.c | ||
| CMakeLists.txt | ||
| dec.c | ||
| hex.c | ||
| json.c | ||
| Kconfig | ||
| notify.c | ||
| onoff.c | ||
| rb.c | ||
| ring_buffer.c | ||
| timeutil.c | ||
| utf8.c | ||
| winstream.c | ||