Explorar o código

Patch from Wojtek to fix Solaris segfault with compiler optimization.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2267 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake %!s(int64=16) %!d(string=hai) anos
pai
achega
589f889fbe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      exec/coroipcs.c

+ 1 - 1
exec/coroipcs.c

@@ -673,7 +673,7 @@ retry_recv:
  * Solaris and some BSD systems
  */
 	{
-		ucred_t *uc;
+		ucred_t *uc = NULL;
 		uid_t euid = -1;
 		gid_t egid = -1;