[SMB2] buffer handling
Stefan (metze) Metzmacher
metze at samba.org
Fri Feb 15 13:00:24 GMT 2008
tridge at samba.org schrieb:
> > This allows us to distinguish between a NULL buffer and a zero length
> > buffer. And it also handle padding of the buffers.
> Following up to our discussion on IRC, what do you think about this
> Note in particulat the smb2_oob() change. We need that as we need to
> allow offsets pointing outside the packet, as long as the length is
> zero bytes.
That would at least work, I think it's much clearer to pass
DATA_BLOB *blob as NULL as looking at blob.data.
Maybe just commit this and we can may change it later to pass *blob...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080215/0632438a/signature.bin
More information about the samba-technical