blob: 7b612f035a668483102226a201535ce945ec840a (
plain)
1
2
3
4
5
6
7
8
9
10
11
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) {
|