Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.
authorJeremy Allison <jra@samba.org>
Wed, 26 Sep 2012 23:58:58 +0000 (16:58 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Oct 2012 12:49:09 +0000 (14:49 +0200)
commit224888491f7a4ce88fd636e56d1438a8a84a48e9
tree66bd31e28ea8241b50bfbc3ecc6fd8d73327eb67
parentff47fcd3c9f4c8e470601c443d214b590288f655
Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.

Ensure we correctly protect against blobs with data_offset==0
and data_length != 0.

Jeremy.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 27 22:07:02 CEST 2012 on sn-devel-104
(cherry picked from commit 322e3d42f65dadabeccf8813fcb0e9b7d353ffb2)
libcli/smb/smb2_create_blob.c