Second part of fix for 7501 - SMB2: CREATE request replies getting mangled.
authorJeremy Allison <jra@samba.org>
Wed, 9 Jun 2010 00:44:05 +0000 (17:44 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 9 Jun 2010 00:44:05 +0000 (17:44 -0700)
commit0c5d0e1c37daf5b802e990bde8469934ae33f6cc
treecdddb5290bb8cded19424fbf677f506a1af3a898
parentfd9e02d5f3a2d98fe14b10b52c4ca3e654a6bd3e
Second part of fix for 7501 - SMB2: CREATE request replies getting mangled.

Based on code from Ira Cooper <samba@ira.wakeful.net>, and also
advice on refactoring the patch into a function call. outbuf vectors
can be reallocated by smb2 processing code, so when returning interim
responses we must not make assumptions about vector size.

Jeremy
source3/smbd/smb2_server.c