zephyr_smp_write_at is supposed to write len bytes of data at the offset of a given net_buf, overwriting existing data and extending beyond current buffer length, if needed. Unfortunately condition checking if written data would fit within the buffer size has been incorrectly implemented, making write impossible, when there has been less bytes of space left within buffer tailroom than required to write len bytes of data, even if len bytes written starting at given offset would not cross the buffer boundary. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| buf.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.mcumgr | ||
| serial_util.c | ||
| smp_bt.c | ||
| smp_shell.c | ||
| smp_uart.c | ||
| smp.c | ||