mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s4:echo RPC - make this one "signed-safe"
"i" needs to be unsigned here since it counts until "r->in.len" which itself is unsigned and not signed.
This commit is contained in:
parent
8919a58583
commit
5c73ecd2b3
@ -54,7 +54,7 @@ static NTSTATUS dcesrv_echo_SinkData(struct dcesrv_call_state *dce_call, TALLOC_
|
||||
|
||||
static NTSTATUS dcesrv_echo_SourceData(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_SourceData *r)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
r->out.data = talloc_array(mem_ctx, uint8_t, r->in.len);
|
||||
if (!r->out.data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user