p-net
p-net copied to clipboard
NULL pointer dereference in rt-kernel pnal_get_hostname
If the hostname is not defined in the rt-kernel config (CFG_LWIP_HOSTNAME), the rt-kernel port will strcpy from a NULL pointer (netif_default->hostname).