Mageia Bugzilla – Attachment 3679 Details for
Bug 9579
Apache fails to start - segfault
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Potential fix
apr-1.4.6-do-not-return-success-when-no-sockaddr-found.patch (text/plain), 357 bytes, created by
Colin Guthrie
on 2013-04-01 13:15:42 CEST
(
hide
)
Description:
Potential fix
Filename:
MIME Type:
Creator:
Colin Guthrie
Created:
2013-04-01 13:15:42 CEST
Size:
357 bytes
patch
obsolete
>--- apr-1.4.6/network_io/unix/sockaddr.c.orig 2013-04-01 12:06:27.744644059 +0100 >+++ apr-1.4.6/network_io/unix/sockaddr.c 2013-04-01 12:15:06.723093885 +0100 >@@ -422,7 +422,9 @@ > ai = ai->ai_next; > } > freeaddrinfo(ai_list); >- if (!*sa) return APR_ENOENT; >+ if (!*sa) { >+ return APR_ENOENT; >+ } > return APR_SUCCESS; > } >
--- apr-1.4.6/network_io/unix/sockaddr.c.orig 2013-04-01 12:06:27.744644059 +0100 +++ apr-1.4.6/network_io/unix/sockaddr.c 2013-04-01 12:15:06.723093885 +0100 @@ -422,7 +422,9 @@ ai = ai->ai_next; } freeaddrinfo(ai_list); - if (!*sa) return APR_ENOENT; + if (!*sa) { + return APR_ENOENT; + } return APR_SUCCESS; }
View Attachment As Raw
Actions:
View
Attachments on
bug 9579
:
3678
| 3679 |
3680