[Bug 17390] New: multiple overlapping reads / writes bigger than SO_SNDBUF / RCV result in data corruption

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 14 12:50:58 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=17390

           Summary: multiple overlapping reads / writes bigger than
                    SO_SNDBUF / RCV result in data corruption
           Product: Wine
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: ntdll
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: lkcl at lkcl.net


multiple readers of the same filedescriptor, NtReadFile, when reading data
amounts that are larger than the  SO_RCVBUF and/or SO_SNDBUF, could potentially
end up corrupting the data because of overlaps in the reads.  solutions involve
having to do per-file critical sections and YES that's a generic problem even
on standard files not just pipes not just messagemode pipes ALL files.

likewise multiple writers to same filedescriptor, NtWriteFile.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list