Ethereal-dev: [Ethereal-dev] PATCH: Send Buffer Length in packet-smb-pipe.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Devin Heitmueller <dheitmueller@xxxxxxxxxxx>
Date: 03 Jul 2002 10:53:40 -0400
The attached patch adds support for the "Send Buffer Length" field in
the dissect_request_parameters function.  The Receive Buffer Length
field was present but the Send Buffer Length field was missing.

Problem discovered when decoding SamOEMChangePassword (214) Requests. 
Trace available upon request.

-- 
Devin Heitmueller
Senior Software Engineer
Netilla Networks Inc
*** packet-smb-pipe.c	2002/06/07 10:11:39	1.79
--- packet-smb-pipe.c	2002/07/03 14:43:54
***************
*** 1787,1794 ****
  		case 'T':
  			/*
  			 * 16-bit send buffer length.
- 			 * This also appears not to be sent over the wire.
  			 */
  			break;
  
  		default:
--- 1787,1796 ----
  		case 'T':
  			/*
  			 * 16-bit send buffer length.
  			 */
+ 			proto_tree_add_item(tree, hf_send_buf_len, tvb,
+ 			    offset, 2, TRUE);
+ 			offset += 2;
  			break;
  
  		default: