artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e75a0
)
zap emalloc mem
author
deraadt
<deraadt@openbsd.org>
Sun, 1 Sep 1996 18:02:02 +0000
(18:02 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 1 Sep 1996 18:02:02 +0000
(18:02 +0000)
usr.sbin/config/util.c
patch
|
blob
|
history
diff --git
a/usr.sbin/config/util.c
b/usr.sbin/config/util.c
index
c9db10c
..
c3b5018
100644
(file)
--- a/
usr.sbin/config/util.c
+++ b/
usr.sbin/config/util.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: util.c,v 1.
3 1996/04/21 23:40:28
deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.
4 1996/09/01 18:02:02
deraadt Exp $ */
/* $NetBSD: util.c,v 1.4 1996/03/17 11:50:16 cgd Exp $ */
/*
@@
-71,6
+71,7
@@
emalloc(size)
if ((p = malloc(size)) == NULL)
nomem();
+ memset(p, 0, size);
return (p);
}