zephyr/subsys/bluetooth/services/ots
Emil Gydesen 9c13b85665 Bluetooth: OTS: Fix offset maximum range check
If offset is only 32-bit, then it can never be > UINT32_MAX,
so added another conditional that only if the type (off_t) is
larger than 32-bit, we perform the maximum value check.

off_t is not a standard type and thus the size of it is poorly
defined, and are just defined as a signed integer type.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-06-05 07:06:19 -04:00
..
CMakeLists.txt
Kconfig
ots.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ots_client.c Bluetooth: OTS: Fix offset maximum range check 2023-06-05 07:06:19 -04:00
ots_client_internal.h
ots_dir_list.c
ots_dir_list_internal.h sys: util: migrate all files to DIV_ROUND_UP 2023-04-11 12:00:37 +02:00
ots_internal.h Bluetooth: Services: Add macro for verifying OTS object ID 2023-04-07 11:29:54 +02:00
ots_l2cap.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
ots_l2cap_internal.h
ots_oacp.c Bluetooth: OTS: Fix coverity issue 2023-06-02 18:57:44 -04:00
ots_oacp_internal.h
ots_obj_manager.c Bluetooth: Services: Add macro for verifying OTS object ID 2023-04-07 11:29:54 +02:00
ots_obj_manager_internal.h
ots_olcp.c Bluetooth: Services: Add macro for verifying OTS object ID 2023-04-07 11:29:54 +02:00
ots_olcp_internal.h