git: kernel/arpresolve: Initialize 'rt' with NULL.
swildner at crater.dragonflybsd.org
Sun Mar 3 04:21:29 PST 2013
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.
Summary of changes:
sys/netinet/if_ether.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
DragonFly BSD source repository
More information about the Commits