OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 19 Jan 2009 23:35:53 EST
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd
Modified Files:
smb.c smb3.c
Log Message:
DELTA windows-smb-parse-ascii-block-20090119
AUTHOR jaltman@secure-endpoint.com
LICENSE MIT
smb_ParseASCIIBlock() may be called with more than just data
type ASCII (0x4). If the type is 2, 3, or 4 the data field is
a null terminated string. If the type is 1 or 5 the data field
is a counted string. if the type is 2 the data field is never
Unicode.
In any case, if the type is unrecognized smb_ParseASCIIBlock()
will return NULL and all of the callers must be prepared to handle
it. If the return is NULL, the smb request will fail with
CM_ERROR_BADSMB.
--- DELTA config follows ---
windows-smb-parse-ascii-block-20090119 openafs/src/WINNT/afsd/smb.c 1.232 1.233
windows-smb-parse-ascii-block-20090119 openafs/src/WINNT/afsd/smb3.c 1.180 1.181