[Bug 180300] Review Request: ccrtp

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 12 22:32:25 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: ccrtp


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180300





------- Additional Comments From yan.morin at gmail.com  2006-04-12 18:32 EST -------
Debian patch this issue in 
http://ftp.debian.org/debian/pool/main/libc/libccrtp/libccrtp_1.3.6-1.diff.gz

like this:
+diff -ur ccrtp-1.3.1/src/queue.cpp ccrtp-1.3.1.patched/src/queue.cpp
+--- ccrtp-1.3.1/src/queue.cpp	2005-03-24 14:14:18.000000000 +0100
++++ ccrtp-1.3.1.patched/src/queue.cpp	2005-06-07 17:44:57.578322928 +0200
+@@ -452,7 +452,7 @@
+ 		uint8 array[1];
+ 		struct {
+ 			timeval time;
+-			uint32 address;
++			void* address;
+ 			uint8 cname[10];
+ 		} data;
+ 	} message;
+@@ -467,7 +467,7 @@
+ 	message.array[0] =
+ 		static_cast<uint8>(message.data.time.tv_sec * 
+ 				   message.data.time.tv_usec);
+-	message.data.address = (uint32)(&message);
++	message.data.address = (void*)(&message);
+ 	memcpy(message.data.cname,
+ 	       defaultApplication().getSDESItem(SDESItemTypeCNAME).c_str(),10);
+ 

1.3.7 version seems to have void* address; 
but not the cast: message.data.address = (void*)(&message);

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the fedora-extras-list mailing list