]> granicus.if.org Git - libtirpc/commit
Fix incorrect sizeof() in __rpc_getbroadifs
authorOlaf Kirch <okir@suse.de>
Tue, 2 Sep 2008 16:09:39 +0000 (12:09 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 2 Sep 2008 16:09:39 +0000 (12:09 -0400)
commit95c8f7227e6b15f2e430d7b87dadc95b2acd4a61
tree826dfb4ebe1b690acd1a99c6cf3b381c3f6c71cb
parentadb96dca9e7fb9c4b3e68d989c543760192a963b
Fix incorrect sizeof() in __rpc_getbroadifs

__rpc_getbroadifs returns bad broadcast addresses on 32bit
machines because when copying the broadcast addresses, ite
applies the sizeof() operator to a pointer to a sockaddr,
rather than the sockaddr itself.

Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
src/clnt_bcast.c