zephyr/subsys/mgmt
Dominik Ermel d09009d7c5 subsys/mgmt: Fix incorrect buffer space check
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>
2020-02-27 12:28:22 +02:00
..
buf.c
CMakeLists.txt
Kconfig kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.mcumgr kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
serial_util.c mcumgr: fix type of pointer passed to base64_decode 2019-07-29 10:10:12 +02:00
smp_bt.c mcumgr: BT SMP transport config for authenticated requirement 2019-12-20 20:28:39 -05:00
smp_shell.c
smp_uart.c treewide: use full path to console/uart_mcumgr.h header 2020-01-26 17:52:12 +01:00
smp.c subsys/mgmt: Fix incorrect buffer space check 2020-02-27 12:28:22 +02:00