Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.
commit322e3d42f65dadabeccf8813fcb0e9b7d353ffb2
authorJeremy Allison <jra@samba.org>
Wed, 26 Sep 2012 23:58:58 +0000 (26 16:58 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 27 Sep 2012 20:07:02 +0000 (27 22:07 +0200)
treec97c8ae30e63413c30b80334301767e303365e21
parentb7822a55c40c5c42356b263c3d7bc1998fb1a7d3
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
libcli/smb/smb2_create_blob.c