Michael Corcoran wrote:
Hello,

I just noticed that Apache 2.0.49 seems to segfault if you try to start
it with NO Listen directive.

hey, you're not supposed to do that ;)


Here's the supper simple diff that seems to fix this:

338c338
<     if (ap_listeners->next) {
---

if ((ap_listeners) && (ap_listeners->next)) {



...the problem is just that "ap_listeners" is being dereference, but it is in fact NULL.

thanks for the patch!

Reply via email to