mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 12:44:37 +08:00
12 lines
356 B
Diff
12 lines
356 B
Diff
--- monitor_wrap.c 17 May 2013 00:13:13 -0000 1.76
|
|
+++ monitor_wrap.c 6 Nov 2013 16:31:26 -0000
|
|
@@ -469,7 +469,7 @@ mm_newkeys_from_blob(u_char *blob, int b
|
|
buffer_init(&b);
|
|
buffer_append(&b, blob, blen);
|
|
|
|
- newkey = xmalloc(sizeof(*newkey));
|
|
+ newkey = xcalloc(1, sizeof(*newkey));
|
|
enc = &newkey->enc;
|
|
mac = &newkey->mac;
|
|
comp = &newkey->comp;
|