OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 19 Jan 2009 23:36:07 EST
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/afsd
Modified Files:
Tag: openafs-devel-1_5_x
smb.c smb3.c
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-windows-smb-parse-ascii-block-20090119 openafs/src/WINNT/afsd/smb.c 1.118.2.111 1.118.2.112
DEVEL15-windows-smb-parse-ascii-block-20090119 openafs/src/WINNT/afsd/smb3.c 1.95.2.85 1.95.2.86