mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r25793: check the return value of ndr_push_set_switch_value()
metze (This used to be commit a85e687e588a7c7e2abb7416631b8815fbae1f58)
This commit is contained in:
parent
520dcd4a87
commit
2a9e674442
@ -814,7 +814,7 @@ _PUBLIC_ NTSTATUS ndr_push_union_blob(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, void
|
||||
ndr = ndr_push_init_ctx(mem_ctx);
|
||||
NT_STATUS_HAVE_NO_MEMORY(ndr);
|
||||
|
||||
ndr_push_set_switch_value(ndr, p, level);
|
||||
NDR_CHECK(ndr_push_set_switch_value(ndr, p, level));
|
||||
NDR_CHECK(fn(ndr, NDR_SCALARS|NDR_BUFFERS, p));
|
||||
|
||||
*blob = ndr_push_blob(ndr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user