Browse Source

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 16 years ago
parent
commit
589f889fbe
1 changed files with 1 additions and 1 deletions
  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;