librpc/rpc: fix dcerpc_floor_set_rhs_data() with NULL data.
authorStefan Metzmacher <metze@samba.org>
Thu, 30 Jan 2014 22:03:03 +0000 (23:03 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 11 Feb 2014 15:20:31 +0000 (16:20 +0100)
commitd89ff8575dbc223019ee62fc65ec0ede593635f7
tree186cb5534f42d2aea691defcd809068011ee035c
parentb5eb5d97c28ea9a13b1d7f06599626f4c4ba14f4
librpc/rpc: fix dcerpc_floor_set_rhs_data() with NULL data.

For EPM_PROTOCOL_IP we can only marshal ipv4 addresses,
everything else gets '0.0.0.0' (4 zero bytes on the wire).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
librpc/rpc/binding.c