d551565802
The options array was not initialized to 0 and the size of the array was not set properly. This caused following error in valgrind Conditional jump or move depends on uninitialised value(s) at 0x8056777: coap_find_options (coap.c:1096) by 0x804AEFF: test_parse_simple_pdu (main.c:455) by 0x80500E6: zephyr_app_main (main.c:1585) by 0x807E231: bg_thread_main (init.c:254) by 0x80842D7: _thread_entry (thread.c:201) by 0x8059618: posix_thread_starter (posix_core.c:301) by 0x40752C8: start_thread (in /usr/lib/libpthread-2.25.so) by 0x4182055: clone (in /usr/lib/libc-2.25.so) Fixes #7447 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> |
||
---|---|---|
.. | ||
coap | ||
dns_packet | ||
dns_resolve | ||
http_header_fields | ||
mqtt_packet | ||
mqtt_publisher | ||
mqtt_subscriber |