Bug 10550 - SMB2 RECVFILE should not be allowed against IPC$ and PRINT shares.
SMB2 RECVFILE should not be allowed against IPC$ and PRINT shares.
Status: ASSIGNED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
unspecified
All All
: P5 normal
: ---
Assigned To: Jeremy Allison
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-11 22:19 UTC by Jeremy Allison
Modified: 2015-03-28 06:27 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2014-04-11 22:19:03 UTC
Current code doesn't prevent RECVFILE partial reads from being done
against IPC$ and PRINT$ shares. These shares do not use the normal file write backend so data will be left incorrectly in the TCP buffer against open handles.

Back-port of Metze's master patch to follow.

Jeremy.