git: kernel/arpresolve: Initialize 'rt' with NULL.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sun Mar 3 04:21:29 PST 2013
commit 18c4274928f2ad615380ae6e5c7c9525dc1fc0fc
Author: Sascha Wildner <saw at online.de>
Date: Sun Mar 3 13:19:41 2013 +0100
kernel/arpresolve: Initialize 'rt' with NULL.
This fixes a case where NULL was passed for 'rt0' and 'rt' could end up
uninitialized at the log() call in line 509.
Review by sephe showed that we never pass NULL as 'rt0' but let's fix it
anyway, to be safer.
Reported-by: enroljas
Reviewed-by: sephe
Summary of changes:
sys/netinet/if_ether.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/18c4274928f2ad615380ae6e5c7c9525dc1fc0fc
--
DragonFly BSD source repository
More information about the Commits
mailing list