CVE-2015-5370: s4:librpc/rpc: protect dcerpc_request_recv_data() against too large...
commit0235d724919b945a7a9ba6cb03596c40937e800a
authorStefan Metzmacher <metze@samba.org>
Fri, 10 Jul 2015 12:08:46 +0000 (10 14:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 30 Mar 2016 02:21:32 +0000 (30 04:21 +0200)
tree989fa509a9b98233c4ce6d08c4f38b8bb61186c3
parentdf2dcc19b12333a45899123bcd0f70ab71c1063e
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