s3:smb2_server: avoid talloc_zero_array() in smbd_smb2_request_error_ex()
commit2edc7308d6185d724f38e602520617121ef57672
authorStefan Metzmacher <metze@samba.org>
Wed, 4 Dec 2013 14:24:29 +0000 (4 15:24 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 5 Mar 2014 21:59:22 +0000 (5 13:59 -0800)
treee598047fb272d457992553f4ce27e57059d6daa0
parentadaf517c87db22cb5b74906d43cfbae74a07130c
s3:smb2_server: avoid talloc_zero_array() in smbd_smb2_request_error_ex()

It is only important that the content of info->data stays alive
for the lifetime of the request, but the DATA_BLOB structure itself
can be on the stack, while passing it as 'dyn' to smbd_smb2_request_done_ex().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_server.c