See patch.

Regards,
  Honza

commit 72fa154a516f0dcecab3a51c54f12934eb84ec22
Author: root <[email protected]>
Date:   Mon Aug 10 14:07:17 2009 +0200

    Swap item in cpg_joinlist
    
    This patch add swab of header->size so big endian architectures
    works with LE list and vica versa.

diff --git a/trunk/services/cpg.c b/trunk/services/cpg.c
index 613970f..9448daf 100644
--- a/trunk/services/cpg.c
+++ b/trunk/services/cpg.c
@@ -625,6 +625,7 @@ static void exec_cpg_joinlist_endian_convert (void *msg_v)
 	struct join_list_entry *jle = (struct join_list_entry *)(msg + sizeof(coroipc_response_header_t));
 
 	/* XXX shouldn't mar_res_header be swabbed? */
+	swab_mar_int32_t (&res->size);
 
 	while ((const char*)jle < msg + res->size) {
 		jle->pid = swab32(jle->pid);
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to