https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298070
Bug ID: 298070
Summary: mmap(2) broken for smbfs(5)
Product: Base System
Version: 14.4-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Reading regular file out of smbfs mounted with stock mount_smbfs(8) from
Windows server may result in silent data corruption for big files like ISO
images, 800-900 MB.
Small sample code to reproduce the problem is attached. Real example also
includes Apache web server having "EnableMMAP on" by default, so httpd serves
binary ISO with right Content-Type but wrong data.
Note that our cp(1) utility does not use mmap, so it copies files out of smbfs
just fine.
--
You are receiving this mail because:
You are the assignee for the bug.