The Samba-Bugzilla – Bug 9760
Incorrect parsing of SMB2 command codes
Last modified: 2013-04-08 07:40:41 UTC
Created attachment 8710 [details]
git-am fix for 4.0.next that went into master.
SMB2 opcodes are 16-bit values. We should *never*
be reading them with IVAL(inhdr, SMB2_HDR_OPCODE),
it shoud always be SVAL(inhdr, SMB2_HDR_OPCODE).
Patch for 4.0.next follows.
Code already reviewed by Jeremy + Richard Sharpe. Re-assigning to Karolin for inclusion in 4.0.next (asking richard to +1 just to follow procedure).
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test.
Closing out bug report.