zephyr/subsys/net/lib
Pisit Sawangvonganan 7b8a9e1818 net: shell: ensure the shell sh is valid before call shell_printf
It is possible that the `sh` was not set before use.
This change adds a NULL check for `sh` in the following macros:
PR, PR_SHELL, PR_ERROR, PR_INFO, and PR_WARNING.
In case `sh` is NULL, the above macros will call `printk` instead.

Fixes #68793

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-02-26 11:41:03 +00:00
..
capture includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
coap net: lib: coap: Add error check when waking server thread 2024-02-19 19:07:03 +01:00
config net: l2: ieee802154: security config 2023-09-29 16:27:31 +02:00
dhcpv4 net: dhcpv4: Add vendor class identifier option 2024-02-26 12:05:03 +01:00
dhcpv6 net: dhcpv6: Move DHCPv6 files to lib directory 2024-01-29 13:47:05 +01:00
dns net: dns: option to disable auto context init 2024-01-29 20:20:19 -06:00
http net: http: define http service and resource iterable sections 2023-03-08 13:57:13 +00:00
lwm2m lwm2m: Regenerate zcbor files 2024-01-30 13:38:51 +01:00
mqtt net: mqtt: close tcp socket after websocket_disconnect 2023-06-19 09:18:45 +01:00
mqtt_sn net: mqtt-sn: Remember incoming registered topic name 2023-11-22 09:53:33 +01:00
shell net: shell: ensure the shell sh is valid before call shell_printf 2024-02-26 11:41:03 +00:00
sntp net: sntp: Add option for SNTP uncertainty 2023-12-08 10:25:46 +00:00
sockets net: sockets: tls: Add config for DTLS max fragment length 2024-02-26 11:51:25 +01:00
socks includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tftp net: tftp: Ensure the error message fits into transmit buffer 2023-11-20 09:24:18 +01:00
tls_credentials tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
trickle net: trickle: Print the abs value using %u 2024-02-13 19:36:30 +01:00
utils net: sntp: support building without NET_SOCKETS_POSIX_NAMES 2023-04-24 09:23:17 -04:00
websocket random: Rename random header 2023-10-10 14:23:50 +03:00
zperf net: zperf: Fix session leak 2024-02-02 10:31:53 -06:00
CMakeLists.txt net: dhcpv6: Move DHCPv6 files to lib directory 2024-01-29 13:47:05 +01:00
Kconfig net: dhcpv6: Move DHCPv6 files to lib directory 2024-01-29 13:47:05 +01:00