git: ktrdump(8): Fix bzero() argument on error.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Wed Jan 24 01:51:34 PST 2018


commit 7ebbbb3a98dc7fc84ae4e70917ab76423adca889
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Wed Jan 24 10:25:59 2018 +0200

    ktrdump(8): Fix bzero() argument on error.
    
    Intention here is to zero out the struct and not the local pointer,
    based on change in e7c0dbbaa.
    
    Caught-by: gcc80 -Wstringop-overflow

Summary of changes:
 usr.bin/ktrdump/ktrdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ebbbb3a98dc7fc84ae4e70917ab76423adca889


-- 
DragonFly BSD source repository


More information about the Commits mailing list