kern/ip/gre: fix CID 156224: Uninitialized scalar variable
This commit is contained in:
parent
ea6f34f4f7
commit
80a8501c05
@ -700,7 +700,7 @@ static char *
|
|||||||
grectlretunnel(Conv *c, int _1, char **argv)
|
grectlretunnel(Conv *c, int _1, char **argv)
|
||||||
{
|
{
|
||||||
GREconv *grec;
|
GREconv *grec;
|
||||||
uint8_t ipaddr[4];
|
uint8_t ipaddr[4] = {0, 0, 0, 0};
|
||||||
|
|
||||||
grec = c->ptcl;
|
grec = c->ptcl;
|
||||||
if(jehanne_memcmp(grec->hoa, nulladdr, sizeof grec->hoa))
|
if(jehanne_memcmp(grec->hoa, nulladdr, sizeof grec->hoa))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user