mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4:auth/gensec: fix declaration after code warning in gensec_tstream.c
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
04c8c65e4c
commit
876f0e03de
@ -247,9 +247,10 @@ static int tstream_gensec_readv_next_vector(struct tstream_context *unix_stream,
|
||||
vector[0].iov_base = (char *)state->wrapped.hdr;
|
||||
vector[0].iov_len = sizeof(state->wrapped.hdr);
|
||||
} else if (!state->wrapped.asked_for_blob) {
|
||||
state->wrapped.asked_for_blob = true;
|
||||
uint32_t msg_len;
|
||||
|
||||
state->wrapped.asked_for_blob = true;
|
||||
|
||||
msg_len = RIVAL(state->wrapped.hdr, 0);
|
||||
|
||||
if (msg_len > 0x00FFFFFF) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user