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>
This commit is contained in:
parent
d1b22b4601
commit
36be5194e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87726
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
PORTNAME= pam_smb
|
PORTNAME= pam_smb
|
||||||
PORTVERSION= 1.9.9
|
PORTVERSION= 1.9.9
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
MASTER_SITES= http://www.csn.ul.ie/~airlied/pam_smb/devel/
|
MASTER_SITES= http://www.csn.ul.ie/~airlied/pam_smb/devel/
|
||||||
|
|
||||||
|
19
security/pam_smb/files/patch-smbval::smblib.c
Normal file
19
security/pam_smb/files/patch-smbval::smblib.c
Normal file
@ -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)
|
||||||
|
{
|
Loading…
Reference in New Issue
Block a user