1
0

patch-src_racoon_isakmp_xauth_c 539 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- ipsec-tools-0.7.2.orig/src/racoon/isakmp_xauth.c 2009-04-20 15:35:36.000000000 +0200
  3. +++ ipsec-tools-0.7.2/src/racoon/isakmp_xauth.c 2009-05-29 15:56:30.460377529 +0200
  4. @@ -585,7 +585,7 @@ PAM_conv(msg_count, msg, rsp, dontcare)
  5. if ((reply = racoon_malloc(sizeof(*reply) * msg_count)) == NULL)
  6. return PAM_CONV_ERR;
  7. - bzero(reply, sizeof(*reply) * msg_count);
  8. + memset(reply, 0, sizeof(*reply) * msg_count);
  9. for (i = 0; i < msg_count; i++) {
  10. switch (msg[i]->msg_style) {