diff options
Diffstat (limited to 'package/ipsec-tools/patches/patch-src_racoon_isakmp_xauth_c')
-rw-r--r-- | package/ipsec-tools/patches/patch-src_racoon_isakmp_xauth_c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ipsec-tools/patches/patch-src_racoon_isakmp_xauth_c b/package/ipsec-tools/patches/patch-src_racoon_isakmp_xauth_c new file mode 100644 index 000000000..7b612f035 --- /dev/null +++ b/package/ipsec-tools/patches/patch-src_racoon_isakmp_xauth_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ipsec-tools-0.7.2.orig/src/racoon/isakmp_xauth.c 2009-04-20 15:35:36.000000000 +0200 ++++ ipsec-tools-0.7.2/src/racoon/isakmp_xauth.c 2009-05-29 15:56:30.460377529 +0200 +@@ -585,7 +585,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) { |