git: pf: Fix bzero() argument.

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


commit 8f14f35ffa99f32a4f7b776333f34ca9d27e8a7a
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Wed Jan 24 10:48:08 2018 +0200

    pf: Fix bzero() argument.
    
    Intention here is to zero out the local pfioc_trans structure and not the
    char *t puinter.
    
    Caught-by: gcc80 -Wstringop-overflow

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8f14f35ffa99f32a4f7b776333f34ca9d27e8a7a


-- 
DragonFly BSD source repository


More information about the Commits mailing list