s3/rpc_client: Ensure max possible row buffer size is not exceeded
commitf487211706a74d516bf447ed393222b4c0dce7b0
authorNoel Power <noel.power@suse.com>
Wed, 14 Feb 2024 11:19:39 +0000 (14 11:19 +0000)
committerVolker Lendecke <vl@samba.org>
Sat, 17 Feb 2024 16:51:37 +0000 (17 16:51 +0000)
tree01a3cc95234ef9a9270079da7ce8786c745b866e
parent01e901ef869a1a87fba0e67bce311dbeb199b717
s3/rpc_client: Ensure max possible row buffer size is not exceeded

The max buf size of rows buffer should not exceed 0x00004000.
Ensuring this value is within limits means we can safely use
uint32_t offsets.

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>
source3/rpc_client/wsp_cli.c