1
0

patch-src_racoon_isakmp_xauth_c 489 B

1234567891011
  1. --- ipsec-tools-0.8.0.orig/src/racoon/isakmp_xauth.c 2011-03-14 16:50:36.000000000 +0100
  2. +++ ipsec-tools-0.8.0/src/racoon/isakmp_xauth.c 2011-03-31 13:23:58.351808486 +0200
  3. @@ -655,7 +655,7 @@ PAM_conv(msg_count, msg, rsp, dontcare)
  4. if ((reply = racoon_malloc(sizeof(*reply) * msg_count)) == NULL)
  5. return PAM_CONV_ERR;
  6. - bzero(reply, sizeof(*reply) * msg_count);
  7. + memset(reply, 0, sizeof(*reply) * msg_count);
  8. for (i = 0; i < msg_count; i++) {
  9. switch (msg[i]->msg_style) {