[syslog-ng] segfaults with 1.9.x series syslog-ng and stream socket

func tionate functionate at gmail.com
Fri Jun 30 07:06:52 CEST 2006


Built from latest snapshot and indeed this solved the issue.

Many thanks.

-Chris

On 6/28/06, Balazs Scheidler <bazsi at balabit.hu> wrote:
> On Wed, 2006-06-28 at 14:06 +0200, Balazs Scheidler wrote:
> > On Fri, 2006-06-23 at 18:42 -0400, func tionate wrote:
>
> > The patch below should fix this issue:
> >
> > --- orig/src/afunix.c
> > +++ mod/src/afunix.c
> > @@ -110,7 +110,7 @@ afunix_dd_new(gchar *filename, guint fla
> >    AFUnixDestDriver *self = g_new0(AFUnixDestDriver, 1);
> >
> >    afsocket_dd_init_instance(&self->super, &self->sock_options, flags);
> > -  self->super.bind_addr = NULL;
> > +  self->super.bind_addr = g_sockaddr_unix_new(NULL);
> >    self->super.dest_addr = g_sockaddr_unix_new(filename);
> >    return &self->super.super;
> >  }
>
> I have also committed this patch, so the fix should be available by
> tomorrow.
>
> --
> Bazsi
>
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>


More information about the syslog-ng mailing list