SMB server sends malformed responses on error
The SMB2 dispatch code can emit partially constructed responses if a request handler returns SDRC_ERROR. This is easily observed over WireShark when running the WPTS (Windows Protocol Test Suites). One particular test case shows this very clearly: the InvalidCreateRequestStructureSize test found in the CreateClose section. Attached is a packet capture showing this.
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 541826a8134c92e67fc603ded1699287feb4cca2 Author: Andrew Stormont <firstname.lastname@example.org> Date: 2019-10-19T16:50:07.000Z 11806 SMB server sends malformed responses on error Reviewed by: Vitaliy Gusev <email@example.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>