diff options
Diffstat (limited to 'security/pam_smb/files')
-rw-r--r-- | security/pam_smb/files/patch-smbval::smblib.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/pam_smb/files/patch-smbval::smblib.c b/security/pam_smb/files/patch-smbval::smblib.c new file mode 100644 index 000000000000..62ad5a129199 --- /dev/null +++ b/security/pam_smb/files/patch-smbval::smblib.c @@ -0,0 +1,19 @@ +*** smbval/smblib.c.orig Sat Aug 16 09:42:32 2003 +--- smbval/smblib.c Sat Aug 16 09:43:34 2003 +*************** +*** 338,344 **** + + } + +! strcpy(pword, PassWord); + #ifdef PAM_SMB_ENC_PASS + if (Con_Handle -> encrypt_passwords) + { +--- 338,344 ---- + + } + +! (void)strlcpy(pword, PassWord, sizeof(pword)); + #ifdef PAM_SMB_ENC_PASS + if (Con_Handle -> encrypt_passwords) + { |