On Mon, Nov 23, 2020 at 8:33 AM Ruediger Pluem <rpl...@apache.org> wrote:
> >
> > @@ -118,6 +118,14 @@ static apr_status_t get_remote_addr(apr_
> >  APR_DECLARE(apr_status_t) apr_sockaddr_ip_getbuf(char *buf, apr_size_t 
> > buflen,
> >                                                   apr_sockaddr_t *sockaddr)
> >  {
> > +#if APR_HAVE_SOCKADDR_UN && 0
>
> Why && 0?

Argh, a leftover of a verification that httpd's r1883729 was fixing
the issue without the APR patch.
Afterward I also added the "buflen < len ? buflen : len" check
("buflen" was used directly at first), but since it was commented out
I didn't notice the invalid args order..

All this should be fixed in r1883742, thanks RĂ¼diger.

Regards;
Yann.

Reply via email to