nuttx-apps/wireless
lipengfei28 f15ed311c0 wapi_json_load: the buf need add null character
sched_backtrace+0xd4/0xfffffffffff444e0
sched_dumpstack+0x5c/0xc50a0
_assert+0x1a0/0x11cf380
__assert+0x28/0x4ebd70
kasan_report+0x280/0x5b0
__asan_loadN+0x234/0xfffffffffffffac0
strlen+0x3c/0x838410
cJSON_Parse+0x38/0x1d0
wapi_json_load+0xc4/0x1c0
wapi_load_config+0x50/0x110600
netinit_associate+0x34/0xfffffffffffffe70
netinit_thread+0xbc/0x18ad0
pthread_startup+0x34/0x11660a0
pthread_start+0x84/0xfffffffffeea2520

If the buf no null character, the strlen acces buf maybe out of bounds

Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com>
2024-10-11 19:26:44 +08:00
..
bluetooth nimble: update to the latest master 2024-06-20 12:42:41 +08:00
gs2200m wireless/gs2200m: Fix handling of ioctl except SIOCDENYINETSOCK 2023-10-13 08:48:25 +02:00
ieee802154 fix nxstyle 2024-05-11 01:20:08 +08:00
iwpan Change all sizeof(arr)/sizeof(arr[0]) to nitems 2023-08-17 22:51:51 +03:00
wapi wapi_json_load: the buf need add null character 2024-10-11 19:26:44 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
CMakeLists.txt fix nxstyle 2024-05-15 23:53:05 +08:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00