Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.
commitdd8e9801d6bcb8c6dca42312ffcb24149eb2645a
authorJeremy Allison <jra@samba.org>
Wed, 26 Sep 2012 23:58:58 +0000 (26 16:58 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 1 Oct 2012 07:12:02 +0000 (1 09:12 +0200)
tree95ddb3178f3ddcead82eca54092ad17b90e9d995
parentf4ed6437a8e60043edf968103a2c503b12e5191f
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