At util.c, line 722,
There's no check to ensure that 'hep' is not a NULL pointer, before
trying to dereference it.
gethostbyname() will return a NULL if there's no such host.
It might also be a good idea to remove more of the places where the
code can just exit(), so that the rest of the virtual hosts and
the server would carry on if there's a non-fatal error in the
configuration file: that's just an idea though.
-- jrg.
There's no check to ensure that 'hep' is not a NULL pointer, before
trying to dereference it.
gethostbyname() will return a NULL if there's no such host.
It might also be a good idea to remove more of the places where the
code can just exit(), so that the rest of the virtual hosts and
the server would carry on if there's a non-fatal error in the
configuration file: that's just an idea though.
-- jrg.