[syslog-ng] [PATCH] afinter: Make the parent class LogSrcDriver, instead of LogDriver.
Balazs Scheidler
bazsi at balabit.hu
Tue May 1 13:22:16 CEST 2012
Hi,
Sorry for not having answered here, this patch was integrated to 3.3 and
then forward-merged to 3.4.
Thanks Gergely & Peter & Peter :).
On Fri, 2012-04-06 at 11:35 +0200, Gergely Nagy wrote:
> The parent of AFInterSourceDriver should be LogSrcDriver, because
> that's the struct we pass down to it anyway, and other parts of the
> code will cast it back to LogSrcDriver, too.
>
> But if its parent is LogDriver, as it was, we were corrupting the
> later parts of the original LogSrcDriver, with values from
> AFInterSourceDriver.
>
> Many thanks to Peter Eisenlohr <peter.eisenlohr at inform-software.com>
> for initial debugging, and for pinpointing mark messages as the
> triggers.
>
> Reported-by: Peter Czanik <czanik at balabit.hu>
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>
--
Bazsi
More information about the syslog-ng
mailing list