Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162577665
D43171.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D43171.diff
View Options
diff --git a/net/samba416/Makefile b/net/samba416/Makefile
--- a/net/samba416/Makefile
+++ b/net/samba416/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ${SAMBA4_BASENAME}416
PORTVERSION= ${SAMBA4_VERSION}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES?= net
MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
DISTNAME= ${SAMBA4_DISTNAME}
diff --git a/net/samba416/files/patch-source3_modules_vfs__cap.c b/net/samba416/files/patch-source3_modules_vfs__cap.c
new file mode 100644
--- /dev/null
+++ b/net/samba416/files/patch-source3_modules_vfs__cap.c
@@ -0,0 +1,14 @@
+--- source3/modules/vfs_cap.c.orig 2022-01-24 10:26:59 UTC
++++ source3/modules/vfs_cap.c
+@@ -112,7 +112,10 @@ static struct dirent *cap_readdir(vfs_handle_struct *h
+ return NULL;
+ }
+ talloc_set_name_const(newdirent, "struct dirent");
+- memcpy(newdirent, result, sizeof(struct dirent));
++ /* See FreeBSD bug #275597 for an explanation of this patch. */
++ /* memcpy(newdirent, result, sizeof(struct dirent)); */
++ memcpy(newdirent, result, result->d_reclen);
++ /*******************************************************************/
+ memcpy(&newdirent->d_name, newname, newnamelen);
+ return newdirent;
+ }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 15, 5:36 PM (11 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35108578
Default Alt Text
D43171.diff (1 KB)
Attached To
Mode
D43171: net/samba416: Patch for abnormal abort on 14.0 i386
Attached
Detach File
Event Timeline
Log In to Comment