[syslog-ng] [PATCH] gprocess: Fix --no-caps handling when building with hardening options.

Balazs Scheidler bazsi at balabit.hu
Sat Nov 12 20:28:20 CET 2011


On Sat, 2011-11-12 at 14:27 +0100, Gergely Nagy wrote:
> When both glib and syslog-ng is built with hardening options enabled,
> overwriting a string pointer with a FALSE boolean does not have the
> expected results: the string will not become NULL.

Hmm... what kind of hardening options are these? I haven't heard about
them yet.

FALSE is not a numeric zero? That'll probably break other assumptions in
syslog-ng, not just this one.

Can you point me in the right direction?
Thanks.

-- 
Bazsi




More information about the syslog-ng mailing list