git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3180a10
)
libcli/smb: fix unitialized padding in smb2_create_blob_push_one() (bug #9209)
author
Stefan Metzmacher
<metze@samba.org>
Sat, 27 Oct 2012 06:11:14 +0000
(08:11 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 27 Oct 2012 08:05:22 +0000
(10:05 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Oct 27 10:05:22 CEST 2012 on sn-devel-104
libcli/smb/smb2_create_blob.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smb2_create_blob.c
b/libcli/smb/smb2_create_blob.c
index 92387db953f74df610459ee45822b2c6fdfa81c4..c6b2e1e7c88f510b38b667ca9cdd5204452204e7 100644
(file)
--- a/
libcli/smb/smb2_create_blob.c
+++ b/
libcli/smb/smb2_create_blob.c
@@
-113,7
+113,7
@@
static NTSTATUS smb2_create_blob_push_one(TALLOC_CTX *mem_ctx, DATA_BLOB *buffer
size_t next_pad = 0;
bool ok;
- blob_offset = 0x1
4
+ tag_length;
+ blob_offset = 0x1
0
+ tag_length;
blob_pad = smb2_create_blob_padding(blob_offset, 8);
next_offset = blob_offset + blob_pad + blob->data.length;
if (!last) {