mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
885850b6aa
Previous to this commit we were modifying the offset before the array offset check. This was causing a spurious debug message indicating the offset was out of bounds. An second problem is that upon detecting the error we don't exit the loop. A third problem was that when reading the offset the check didn't cater for the size of the integer address about to be read. This commit moves the offset check to before the first read, additionally when an error is detected now we actually exit the loop and the offset have been corrected to include the size of the integer to be read BUG: https://bugzilla.samba.org/show_bug.cgi?id=15579 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Sat Feb 17 17:58:43 UTC 2024 on atb-devel-224 |
||
---|---|---|
.. | ||
cli_lsarpc.c | ||
cli_lsarpc.h | ||
cli_mdssvc_private.h | ||
cli_mdssvc_util.c | ||
cli_mdssvc_util.h | ||
cli_mdssvc.c | ||
cli_mdssvc.h | ||
cli_netlogon.c | ||
cli_netlogon.h | ||
cli_pipe_schannel.c | ||
cli_pipe.c | ||
cli_pipe.h | ||
cli_samr.c | ||
cli_samr.h | ||
cli_spoolss.c | ||
cli_spoolss.h | ||
cli_winreg_int.c | ||
cli_winreg_int.h | ||
cli_winreg_spoolss.c | ||
cli_winreg_spoolss.h | ||
cli_winreg.c | ||
cli_winreg.h | ||
init_lsa.c | ||
init_lsa.h | ||
init_samr.c | ||
init_samr.h | ||
init_spoolss.c | ||
init_spoolss.h | ||
local_np.c | ||
local_np.h | ||
py_mdscli.c | ||
rpc_client.h | ||
rpc_transport_np.c | ||
rpc_transport_sock.c | ||
rpc_transport_tstream.c | ||
rpc_transport.h | ||
util_netlogon.c | ||
util_netlogon.h | ||
wsp_cli.c | ||
wsp_cli.h |