Преглед на файлове

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 години
родител
ревизия
589f889fbe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      exec/coroipcs.c

+ 1 - 1
exec/coroipcs.c

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