mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
ntlmssp: when pulling messages it is important to clear memory first.
Guenther BUG: https://bugzilla.samba.org/show_bug.cgi?id=11804 Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 30386c23ae0a6afd2060e626c73df9a3691a71fb)
This commit is contained in:
parent
42c2d631a4
commit
1865f1240f
@ -25,6 +25,7 @@
|
||||
#define NTLMSSP_PULL_MESSAGE(type, blob, mem_ctx, r) \
|
||||
do { \
|
||||
enum ndr_err_code __ndr_err; \
|
||||
ZERO_STRUCTP(r); /* in order to deal with unset neg flags */\
|
||||
__ndr_err = ndr_pull_struct_blob(blob, mem_ctx, r, \
|
||||
(ndr_pull_flags_fn_t)ndr_pull_ ##type); \
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(__ndr_err)) { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user