kern/ip/gre: fix CID 156224: Uninitialized scalar variable

This commit is contained in:
Giacomo Tesio 2017-04-25 15:53:20 +02:00
parent ea6f34f4f7
commit 80a8501c05
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ static char *
grectlretunnel(Conv *c, int _1, char **argv)
{
GREconv *grec;
uint8_t ipaddr[4];
uint8_t ipaddr[4] = {0, 0, 0, 0};
grec = c->ptcl;
if(jehanne_memcmp(grec->hoa, nulladdr, sizeof grec->hoa))