Skip to content
Snippets Groups Projects
Commit fb11866c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix potential NULL pointer deref in rblchk(), observed via segfault lately

I'm not sure why this one only started popping up now, but h_addr_list is a
NULL-terminated list and it makes perfect sense that the first entry could
be the NULL-terminator.

gethostbyname is obsolete/deprecated and we should address that in a separate
commit.
parent 08f465db
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4417 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment