]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/pf_ioctl.c
xnu-4570.41.2.tar.gz
[apple/xnu.git] / bsd / net / pf_ioctl.c
index 62a475f9d2b4416c315083ceadfb16242f43aed4..977751814169994df197c18fd2d9c2428bdbc74f 100644 (file)
@@ -3395,7 +3395,7 @@ pfioctl_ioc_states(u_long cmd, struct pfioc_states_32 *ps32,
                        break;
                }
 
-               pstore = _MALLOC(sizeof (*pstore), M_TEMP, M_WAITOK);
+               pstore = _MALLOC(sizeof (*pstore), M_TEMP, M_WAITOK | M_ZERO);
                if (pstore == NULL) {
                        error = ENOMEM;
                        break;