mdssvc: introduce MAX_MDSCMD_SIZE
authorRalph Boehme <slow@samba.org>
Mon, 17 Jul 2023 12:51:54 +0000 (14:51 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 24 Jul 2023 15:18:32 +0000 (15:18 +0000)
commit68bb582bc513448a9b16705ca566539cfaf45882
tree1d3aeb2e664e5b2e3df5ab5a149f4e31a07246c2
parentc2b4fe3fb7c71579541829aca7c112bc2c0eebeb
mdssvc: introduce MAX_MDSCMD_SIZE

Allow larger value for the reassembled mdscmd's. Now that the client supports
fragementation, when processing reassambled large result sets from macOS
Spotlight server, it's possible to hit this limit in the unmarshalling
code. Let's just increase it to some larger value.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
source3/rpc_server/mdssvc/marshalling.c
source3/rpc_server/mdssvc/marshalling.h