diff options
author | nectar <nectar@FreeBSD.org> | 2003-08-26 20:57:08 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-08-26 20:57:08 +0800 |
commit | 7b83e00db534595952fd0eeca3c860e7fa7cba9b (patch) | |
tree | a4d170c654f1e984ad4ffbf1c3009f63dd4b5903 /security/pam_smb | |
parent | 5bdc256425c1c0068bd5c69cdd00d98caa8c6b93 (diff) | |
download | freebsd-ports-gnome-7b83e00db534595952fd0eeca3c860e7fa7cba9b.tar.gz freebsd-ports-gnome-7b83e00db534595952fd0eeca3c860e7fa7cba9b.tar.zst freebsd-ports-gnome-7b83e00db534595952fd0eeca3c860e7fa7cba9b.zip |
Patch for remote root exploit mentioned at
<URL:http://www.skynet.ie/~airlied/pam_smb/>.
This issue has CVE name CAN-2003-0686:
<URL:http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0686>
Diffstat (limited to 'security/pam_smb')
-rw-r--r-- | security/pam_smb/Makefile | 2 | ||||
-rw-r--r-- | security/pam_smb/files/patch-smbval::smblib.c | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/security/pam_smb/Makefile b/security/pam_smb/Makefile index 85ca4eec1fe9..3ceb80d35e71 100644 --- a/security/pam_smb/Makefile +++ b/security/pam_smb/Makefile @@ -6,7 +6,7 @@ PORTNAME= pam_smb PORTVERSION= 1.9.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://www.csn.ul.ie/~airlied/pam_smb/devel/ 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) + { |