blob: 2db130da8e9ff2100a7add8255aaac8c7da7fdb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- ipsec-tools-0.8.2.orig/src/racoon/isakmp_xauth.c 2013-02-05 07:23:42.000000000 +0100
+++ ipsec-tools-0.8.2/src/racoon/isakmp_xauth.c 2015-03-19 17:44:43.000000000 +0100
@@ -659,7 +659,7 @@ PAM_conv(msg_count, msg, rsp, dontcare)
if ((reply = racoon_malloc(sizeof(*reply) * msg_count)) == NULL)
return PAM_CONV_ERR;
- bzero(reply, sizeof(*reply) * msg_count);
+ memset(reply, 0, sizeof(*reply) * msg_count);
for (i = 0; i < msg_count; i++) {
switch (msg[i]->msg_style) {
|