PR 56874: avoid using uninitialized memory, patch from Tom Lane.
This commit is contained in:
parent
ba6b10c46b
commit
afcc043fd7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ipftest.c,v 1.4 2018/02/04 08:19:42 mrg Exp $ */
|
||||
/* $NetBSD: ipftest.c,v 1.5 2022/06/10 06:06:00 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2012 by Darren Reed.
|
||||
|
@ -88,6 +88,7 @@ main(argc,argv)
|
|||
ip_t *ip;
|
||||
|
||||
m = &mb;
|
||||
memset(m, 0, sizeof(*m));
|
||||
dir = 0;
|
||||
dump = 0;
|
||||
hlen = 0;
|
||||
|
|
Loading…
Reference in New Issue