zephyr/subsys
Robert Lubos 799a8401e7 net: 6lo: Fix memory corruption during uncompression
A memory corruption could happen in `uncompress_IPHC_header` function,
when data was moved to make place in the net buffer for the uncompressed
IPv6/UDP header.

The size of data being moved should only contain the original data size,
not incremented by the amount of space needed to expand the header,
which was already added to the net buffer size. In result, the `memmove`
operation could exceed the allocated net buffer and cause memory
corruption.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-01-22 11:57:11 -06:00
..
bluetooth Bluetooth: host: Refactor use of #ifdef to IS_ENABLED() 2020-01-20 18:58:02 +02:00
canbus samples: canbus: add CANopen sample 2020-01-20 17:17:23 +01:00
console kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
cpp treewide: avoid use of unsupported C++ specifiers 2019-12-13 17:19:54 -06:00
debug debug: tracing: Fix time returned by CPU stats module 2020-01-20 13:55:11 -05:00
dfu dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf} 2020-01-17 17:57:59 +01:00
disk global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
fb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
fs fs: remove NFFS subsystem 2020-01-21 15:32:47 +01:00
jwt kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
logging logging: rtt: Improve synchronous mode 2020-01-14 11:19:10 -05:00
mgmt mcumgr: BT SMP transport config for authenticated requirement 2019-12-20 20:28:39 -05:00
net net: 6lo: Fix memory corruption during uncompression 2020-01-22 11:57:11 -06:00
power soc: nrf91: add power management 2020-01-10 13:09:44 +01:00
random subsys/random: fix unused value warning 2019-12-20 08:51:53 -05:00
settings settings: Deprecate base64 in fs backed settings 2020-01-16 10:21:29 -05:00
shell shell: kconfig: Fix SEGGER_SYSTEMVIEW/SHELL_BACKEND_RTT build issue 2020-01-16 17:37:47 +01:00
stats cleanup: include/: move stats.h to stats/stats.h 2019-06-27 22:55:49 -04:00
storage kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
testsuite arch: arm: Move ARM code to AArch32 sub-directory 2019-12-20 11:40:59 -05:00
usb usb: netusb: Set interface NET_IF_NO_AUTO_START 2020-01-20 11:26:21 +02:00
CMakeLists.txt canbus: canopen: add zephyr driver layer for CANopenNode 2020-01-20 17:17:23 +01:00
Kconfig canbus: canopen: add zephyr driver layer for CANopenNode 2020-01-20 17:17:23 +01:00