git: newsyslog - Initialize some fields

Antonio Huete Jimenez tuxillo at
Sun Jan 28 17:16:12 PST 2018

commit 323cdf950d54a7f9e0610eebd28a192a60175d73
Author: Antonio Huete Jimenez <tuxillo at>
Date:   Sun Jan 28 21:42:48 2018 +0100

    newsyslog - Initialize some fields
    When the 'R' flag is used with a newsyslog.conf entry, some fields of
    the corresponding struct sigwork_entry were left uninitialized,
    potentially causing an early return from do_sigwork(). Ensure that these
    fields are initialized, and handle the 'R' flag properly in
    Obtained-from: FreeBSD (r245961)

Summary of changes:
 usr.sbin/newsyslog/newsyslog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list