[PATCH] fix syslog corruption when using customized name

Ondrej Zajicek santiago at crfreenet.org
Mon Oct 31 16:12:04 CET 2016


On Sun, Oct 30, 2016 at 10:40:30PM +0000, Chris Caputo wrote:
> Fix bug with syslog using string passed to openlog() which is later
> stomped on, resulting in corrupted log messages. This happens when name
> is specified in a syslog log line, ala:

Thanks, you are right. I will merge the patch.

Note that there is a minor bug in the patch as the current_syslog_name
is not updated when new_syslog_name == NULL.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20161031/1053e5f6/attachment.asc>


More information about the Bird-users mailing list