zephyr/subsys
Robert Lubos 16fa99a887 net: coap: Validate token length in coap_header_get_token()
In theory, coap_header_get_token() should only be used on already parsed
packets, and coap_packet_parse() would detect an invalid token length in
a packet. Coverity however complains about possible out-of-bound access,
as in theory the function can return token length up to 15. Therefore
add an extra validation of the token length within the function, to
avoid out-of-bound access due to programming errors and to make Coverity
happy.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-06-02 15:13:41 -04:00
..
bluetooth Bluetooth: Host: Fix GATT delayed store 2023-06-01 14:58:39 +02:00
canbus canbus: isotp: fix single frame state machine stuck issue 2023-04-12 17:45:04 +02:00
console
debug coredump: Add memory wirte pointer fo intel ADSP memory window backend 2023-05-31 14:38:58 -04:00
demand_paging
dfu dfu: mcuboot_shell: Add command to enter serial recovery 2023-04-24 13:27:53 +02:00
disk subsys/disk: No need of runtime intialization for disk access part 2023-03-13 18:34:40 +00:00
dsp zdsp: add ARC DSPLIB backend for zdsp 2023-02-21 15:06:06 +01:00
emul iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
fb fb: cfb_shell: correct invert command implementation 2023-05-26 09:49:25 -04:00
fs fs: littlefs: add ability to build little fs without flash map 2023-05-19 15:53:29 +02:00
input iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
ipc ipc: icmsg: Add mutual exclussion access to shmem 2023-04-29 12:24:17 +02:00
jwt
logging logging: log_output: Fix for Coverity issue 316014 2023-06-02 15:07:08 -04:00
lorawan lorawan: initialise data structures earlier 2023-06-01 13:44:16 -04:00
mgmt mgmt: ec_host_cmd: add support for IN_PROGRESS status 2023-05-26 13:51:30 -04:00
modbus modbus: cancel the server_work in modbus disable 2023-05-22 10:50:20 +02:00
net net: coap: Validate token length in coap_header_get_token() 2023-06-02 15:13:41 -04:00
pm pm: Fix cpus active count 2023-06-01 10:05:31 +02:00
portability
random init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
retention retention: Add optional mutex disablement 2023-04-24 13:27:53 +02:00
rtio iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
sd sd: Return ret if error in sdmmc_spi_read_cxd 2023-03-28 09:23:47 +02:00
settings iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
shell shell: shell_cmds: added prompt commands 2023-05-22 12:03:03 +02:00
sip_svc iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
stats
storage storage: flash_map list partition labels 2023-05-05 10:02:19 +02:00
task_wdt
testsuite testsuite: group all test-related APIs under 'testing' 2023-05-31 14:39:29 -04:00
timing
tracing iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
usb USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00
zbus zbus: remove POSIX arch iterable sections restriction 2023-05-23 22:09:33 +02:00
CMakeLists.txt subsystem: sip_svc: Add ARM SiP SVC subsystem 2023-05-09 08:46:50 -04:00
Kconfig subsystem: sip_svc: Add ARM SiP SVC subsystem 2023-05-09 08:46:50 -04:00