diff options
author | knu <knu@FreeBSD.org> | 2001-07-03 17:11:40 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-07-03 17:11:40 +0800 |
commit | e6182a4308fce8d1c3376a9efdfb9a9dad34260b (patch) | |
tree | 38b2ea59324723a242bf806f09035654143079d0 /japanese/samba/files | |
parent | 58218417222453a3d954589827814eddbd52a3b8 (diff) | |
download | freebsd-ports-gnome-e6182a4308fce8d1c3376a9efdfb9a9dad34260b.tar.gz freebsd-ports-gnome-e6182a4308fce8d1c3376a9efdfb9a9dad34260b.tar.zst freebsd-ports-gnome-e6182a4308fce8d1c3376a9efdfb9a9dad34260b.zip |
Apply a hot security fix against the 'macro exploit' problem.
(See: http://us1.samba.org/samba/whatsnew/macroexploit.html)
PR: ports/28627
Submitted by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> (MAINTAINER)
Diffstat (limited to 'japanese/samba/files')
-rw-r--r-- | japanese/samba/files/patch-eb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/japanese/samba/files/patch-eb b/japanese/samba/files/patch-eb new file mode 100644 index 000000000000..f30e3acc7cf9 --- /dev/null +++ b/japanese/samba/files/patch-eb @@ -0,0 +1,19 @@ +--- smbd/reply.c.orig Fri May 4 04:11:44 2001 ++++ smbd/reply.c Mon Jul 2 13:11:28 2001 +@@ -101,6 +101,7 @@ + trim_string( remote_machine, strlen( remote_machine )+1, + " ", sizeof( " " ), " ", sizeof( " " )); + strlower(remote_machine); ++ alpha_strcpy(remote_machine,remote_machine,sizeof(remote_machine)-1); + + fstrcpy(local_machine,name1); + len = strlen(local_machine); +@@ -111,6 +112,7 @@ + trim_string( local_machine, strlen( local_machine )+1, + " ", sizeof( " " ), " ", sizeof( " " )); + strlower(local_machine); ++ alpha_strcpy(local_machine,local_machine,sizeof(local_machine)-1); + + if (name_type == 'R') { + /* We are being asked for a pathworks session --- + |