소스 검색

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
  */
 	{
-		ucred_t *uc;
+		ucred_t *uc = NULL;
 		uid_t euid = -1;
 		gid_t egid = -1;