diff options
Diffstat (limited to 'net/netatalk/files/patch-bin_afppasswd_afppasswd.c')
-rw-r--r-- | net/netatalk/files/patch-bin_afppasswd_afppasswd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/netatalk/files/patch-bin_afppasswd_afppasswd.c b/net/netatalk/files/patch-bin_afppasswd_afppasswd.c new file mode 100644 index 000000000000..8d5838b9a6a0 --- /dev/null +++ b/net/netatalk/files/patch-bin_afppasswd_afppasswd.c @@ -0,0 +1,11 @@ +--- bin/afppasswd/afppasswd.c.orig Thu Feb 20 00:04:51 2003 ++++ bin/afppasswd/afppasswd.c Thu Feb 20 00:04:57 2003 +@@ -114,7 +114,7 @@ + /* decrypt the password */ + ecb_encrypt((C_Block *) buf, (C_Block *) buf, schedule, DES_DECRYPT); + } +- memset(schedule, 0, sizeof(schedule)); ++ memset(&schedule, 0, sizeof(schedule)); + } + + if (newpwd) { |