git: newsyslog - Initialize some fields

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Jan 28 17:16:12 PST 2018


commit 323cdf950d54a7f9e0610eebd28a192a60175d73
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
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
    do_sigwork().
    
    Obtained-from: FreeBSD (r245961)

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/323cdf950d54a7f9e0610eebd28a192a60175d73


-- 
DragonFly BSD source repository



More information about the Commits mailing list