CVE-2015-5370: s4:librpc/rpc: protect dcerpc_request_recv_data() against too large...
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Jul 2015 12:08:46 +0000 (14:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 12 Apr 2016 17:25:29 +0000 (19:25 +0200)
commitdef00193c51a2d429a28347ecabf41bf9af5ef24
treea51f54f1adf5ccd4a157a3934e7e65a9f57d04c8
parent3bf476345f47b4f29e995e9879cc8876d639a316
CVE-2015-5370: s4:librpc/rpc: protect dcerpc_request_recv_data() against too large payloads

We should only allow a combined payload of a response of at max 4 MBytes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11344

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source4/librpc/rpc/dcerpc.c