p-net icon indicating copy to clipboard operation
p-net copied to clipboard

fix NULL dereference

Open hefloryd opened this issue 3 years ago • 0 comments

pnal_get_hostname for rt-kernel and STM32Cube could dereference a NULL pointer if lwip had not been configured with a hostname. Check before using hostname and return error if no hostname has been set.

Fix #475

hefloryd avatar Jul 01 '22 07:07 hefloryd