s3-dcerpc: Read a pdu in 2 steps, header first the payload
authorSimo Sorce <idra@samba.org>
Wed, 14 Jul 2010 20:15:13 +0000 (16:15 -0400)
committerGünther Deschner <gd@samba.org>
Thu, 15 Jul 2010 23:51:17 +0000 (01:51 +0200)
commitcc15396c8a70270d4c85055111e58d71f5c96dd6
treee4b6665f3b9efb484cc624e865fdf16603a3d31d
parent79c207ed62ef661add5d48ea898b7a415a9c17d9
s3-dcerpc: Read a pdu in 2 steps, header first the payload

We can't really cope with receiving more data than expected anyway
as there is code that checks if the size of the buffer is consistent with
pkt->frag_length and throws an error if not.

Signed-off-by: Günther Deschner <gd@samba.org>
source3/rpc_client/cli_pipe.c