diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-04-07 14:00:07 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-04-07 14:00:07 +0000 |
commit | 754ad42b58e3c18b6601972338c6418278f3257c (patch) | |
tree | d252ef5cf02e8faadf97740c64c4d2ae0ff5378c /net/samba | |
parent | Mark FORBIDDEN, remote root compromise. (diff) |
Update 2.2.8 -> 2.2.8a.
Submitted by: dwcjr (MAINTAINER)
Notes
Notes:
svn path=/head/; revision=78520
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/Makefile | 3 | ||||
-rw-r--r-- | net/samba/distinfo | 2 | ||||
-rw-r--r-- | net/samba/files/patch-security-aa | 22 | ||||
-rw-r--r-- | net/samba/files/patch-security-ab | 23 | ||||
-rw-r--r-- | net/samba/files/patch-security-ac | 12 | ||||
-rw-r--r-- | net/samba/files/patch-security-ad | 12 | ||||
-rw-r--r-- | net/samba/files/patch-security-ae | 7 |
7 files changed, 2 insertions, 79 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 3b0f7ba491c2..41f718ff439b 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -6,8 +6,7 @@ # PORTNAME= samba -PORTVERSION= 2.2.8 -PORTREVISION= 2 +PORTVERSION= 2.2.8a CATEGORIES= net MASTER_SITES= http://us3.samba.org/samba/ftp/%SUBDIR%/ \ http://us4.samba.org/samba/ftp/%SUBDIR%/ \ diff --git a/net/samba/distinfo b/net/samba/distinfo index 40a8957419e1..33e65bebed84 100644 --- a/net/samba/distinfo +++ b/net/samba/distinfo @@ -1 +1 @@ -MD5 (samba-2.2.8.tar.bz2) = f11004debeb8a34fd269d06ff08ac926 +MD5 (samba-2.2.8a.tar.bz2) = 51466fdd7b7125a5bd41608a76e8e7c8 diff --git a/net/samba/files/patch-security-aa b/net/samba/files/patch-security-aa deleted file mode 100644 index e88e02744d9c..000000000000 --- a/net/samba/files/patch-security-aa +++ /dev/null @@ -1,22 +0,0 @@ -diff -u -r --new-file --exclude=CVS source/smbd/trans2.c samba-2.2.8a/source/smbd/trans2.c ---- source/smbd/trans2.c 2003-03-14 15:34:49.000000000 -0600 -+++ source/smbd/trans2.c 2003-04-05 12:38:22.000000000 -0600 -@@ -217,7 +217,6 @@ - int16 open_ofun; - int32 open_size; - char *pname; -- int16 namelen; - - pstring fname; - mode_t unixmode; -@@ -247,9 +246,8 @@ - open_ofun = SVAL(params,12); - open_size = IVAL(params,14); - pname = ¶ms[28]; -- namelen = strlen(pname)+1; - -- StrnCpy(fname,pname,namelen); -+ pstrcpy(fname, pname); - - DEBUG(3,("trans2open %s mode=%d attr=%d ofun=%d size=%d\n", - fname,open_mode, open_attr, open_ofun, open_size)); diff --git a/net/samba/files/patch-security-ab b/net/samba/files/patch-security-ab deleted file mode 100644 index 76b09577b9b1..000000000000 --- a/net/samba/files/patch-security-ab +++ /dev/null @@ -1,23 +0,0 @@ -diff -u -r --new-file --exclude=CVS source/smbd/reply.c samba-2.2.8a/source/smbd/reply.c ---- source/smbd/reply.c 2003-03-14 15:34:49.000000000 -0600 -+++ source/smbd/reply.c 2003-04-05 14:16:35.000000000 -0600 -@@ -1500,6 +1500,9 @@ - - for (i=numentries;(i<maxentries) && !finished;i++) - { -+ /* check to make sure we have room in the buffer */ -+ if ( ((PTR_DIFF(p, outbuf))+DIR_STRUCT_SIZE) > BUFFER_SIZE ) -+ break; - finished = - !get_dir_entry(conn,mask,dirtype,fname,&size,&mode,&date,check_descend); - if (!finished) -@@ -3528,6 +3531,9 @@ - - - for (i=first;i<first+num_to_get;i++) { -+ /* check to make sure we have room in the buffer */ -+ if ( (PTR_DIFF(p, outbuf)+28) > BUFFER_SIZE ) -+ break; - put_dos_date2(p,0,queue[i].time); - SCVAL(p,4,(queue[i].status==LPQ_PRINTING?2:3)); - SSVAL(p,5, queue[i].job); diff --git a/net/samba/files/patch-security-ac b/net/samba/files/patch-security-ac deleted file mode 100644 index 10887607716b..000000000000 --- a/net/samba/files/patch-security-ac +++ /dev/null @@ -1,12 +0,0 @@ -diff -u -r --new-file --exclude=CVS source/smbd/statcache.c samba-2.2.8a/source/smbd/statcache.c ---- source/smbd/statcache.c 2001-10-11 04:34:37.000000000 -0500 -+++ source/smbd/statcache.c 2003-04-04 16:02:33.000000000 -0600 -@@ -88,7 +88,7 @@ - * StrnCpy always null terminates. - */ - -- StrnCpy(orig_name, full_orig_name, namelen); -+ StrnCpy(orig_name, full_orig_name, MIN(namelen, sizeof(orig_name)-1)); - if(!case_sensitive) - strupper( orig_name ); - diff --git a/net/samba/files/patch-security-ad b/net/samba/files/patch-security-ad deleted file mode 100644 index 7c05bc1f1730..000000000000 --- a/net/samba/files/patch-security-ad +++ /dev/null @@ -1,12 +0,0 @@ -diff -u -r --new-file --exclude=CVS source/smbd/password.c samba-2.2.8a/source/smbd/password.c ---- source/smbd/password.c 2003-03-14 15:34:49.000000000 -0600 -+++ source/smbd/password.c 2003-04-04 16:02:33.000000000 -0600 -@@ -816,7 +816,7 @@ - if (!ok && lp_username(snum)) { - char *auser; - pstring user_list; -- StrnCpy(user_list,lp_username(snum),sizeof(pstring)); -+ StrnCpy(user_list,lp_username(snum),sizeof(pstring)-1); - - pstring_sub(user_list,"%S",lp_servicename(snum)); - diff --git a/net/samba/files/patch-security-ae b/net/samba/files/patch-security-ae deleted file mode 100644 index e47c4fdadd93..000000000000 --- a/net/samba/files/patch-security-ae +++ /dev/null @@ -1,7 +0,0 @@ -*** source/include/version.h.orig Sat Apr 5 10:00:34 2003 ---- source/include/version.h Sat Apr 5 10:00:39 2003 -*************** -*** 1 **** -! #define VERSION "2.2.8" ---- 1 ---- -! #define VERSION "2.2.8p1" |