zephyr/subsys
Piotr Pryga f24b5b4b43 Bluetooth: host: df: fix wrong connectionless CTE enable cmd length
There were a bug in a prepare_cl_cte_rx_enable_cmd_params function.
The size of command buffer was wrong when CTE enabled in AoD mode.
The command buffer was extended by param->num_ant_ids, that was
zero in case of AoD. Then a dummy antenna switch pattern was copied
into the command buffer.

That lead to: memory overwrite, and wrong command buffer length.
The command was rejected by Controller.

To fix, use cp->switch_pattern_len that was already assigned with
correct antenna pattern length.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2022-10-31 11:23:44 +01:00
..
bluetooth Bluetooth: host: df: fix wrong connectionless CTE enable cmd length 2022-10-31 11:23:44 +01:00
canbus drivers: can: use flags fields for can_frame and can_filter structs 2022-10-25 16:32:10 +02:00
console includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
cpp cpp: Add C++20 [[nodiscard]] attribute to operator new 2022-10-03 10:13:25 +02:00
debug debug: thread_info: store arch mode_exc_return offset 2022-10-28 11:51:15 +02:00
demand_paging
dfu dfu: include MCUboot's bootutil_public.h 2022-09-19 18:36:37 +02:00
disk
emul
fb includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
fs include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
ipc ipc: Add deregister API support for icmsg backend 2022-10-17 14:49:42 +02:00
jwt
logging logging: log_backend_fs: added LOG_BACKEND_FS_AUTOSTART configuration 2022-10-26 12:00:29 +02:00
lorawan include: add missing kernel.h for lorawan subsys 2022-10-17 18:10:10 +09:00
mgmt treewide: Use CONFIG_*_ENDIAN instead of __BYTE_ORDER__ 2022-10-28 19:23:46 +09:00
modbus includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
net net: lwm2m: Prevent wundef warnings 2022-10-28 22:06:09 +09:00
pm pm: Rework usage of CONFIG_MP_NUM_CPUS to CONFIG_MP_MAX_NUM_CPUS 2022-10-27 13:51:55 -04:00
portability subsys/cmsis_v*: Fix racy mutex testing, decouple from k_mutex 2022-10-17 10:13:56 +02:00
random
rtio rtio: Release sqe before submitting cqe 2022-10-04 09:31:13 -05:00
sd sd: enable 4 bit bus width for high speed cards 2022-10-03 14:22:33 +02:00
settings settings: Switch from FIXED_AREA_ to FIXED_PARTITION_ macros 2022-09-06 09:56:37 +02:00
shell smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
stats stats: shell: enable the stats shell if both stats and shell are enabled 2022-10-12 06:46:34 +02:00
storage include: add missing errno.h include 2022-10-11 18:05:17 +02:00
task_wdt
testsuite ztest: Convert CONFIG_MP_NUM_CPUS handling 2022-10-27 14:02:05 -04:00
timing
tracing subsys/tracing: Use z_current_get in switch_{in,out} 2022-10-26 12:00:04 +02:00
usb usb-c: Correct spelling error in comment 2022-10-27 11:00:14 +02:00
CMakeLists.txt
Kconfig usb-c: Add USB-C Subsystem with Sink PD Support 2022-10-22 18:38:35 -04:00