summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/getinfo.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-22 15:04:03 +0000
committerJeremy Allison <jra@samba.org>2013-08-23 09:48:44 -0700
commitad8a1e2a6ee126596abe992bc39da3b8ea1b4f9b (patch)
treeb3ed5b0f80562924bf13c24778ce5b32d06b0ba0 /source4/torture/smb2/getinfo.c
parent1927676412a5b329b9f6e5e3ec3971bc18e21b31 (diff)
downloadsamba-ad8a1e2a6ee126596abe992bc39da3b8ea1b4f9b.tar.gz
samba-ad8a1e2a6ee126596abe992bc39da3b8ea1b4f9b.tar.bz2
samba-ad8a1e2a6ee126596abe992bc39da3b8ea1b4f9b.zip
libsmb2: Fix opening the rootdirectory, part 2
smb2_push_o16s16_blob is wrong for the blob.data==NULL case. It does not do the same magic that the rest of the routine does with regards to padding_fix. padding_fix is wrong in its own respect, with a 0-length blob we end up with a negative padding fix. It's wrong, but it seems to work. Why am I doing this? I want to make smb2.getinfo work against w2k12. smb2_util_roothandle() always gives NT_STATUS_INVALID_PARAMETER without this and the preceding fix. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/smb2/getinfo.c')
0 files changed, 0 insertions, 0 deletions