[OpenAFS-devel] volserver segmentation fault

Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
Wed, 20 Jul 2005 15:07:48 +0200


Hello,
with OpenAFS 1.3.85 the volserver may die with a segmentation fault,
when executing a wrong "log" statement. Here is a patch:

--- openafs-1.3.85/src/vol/fssync.c.orig	Wed Apr 27 03:37:09 2005
+++ openafs-1.3.85/src/vol/fssync.c	Wed Jul 20 14:32:26 2005
@@ -172,7 +172,7 @@
 	if (!*timeout)
 	    break;
 	if (!(*timeout & 1))
-	    Log(0, ("FSYNC_clientInit temporary failure (will retry)"));
+	    Log("FSYNC_clientInit temporary failure (will retry)");
 	FSYNC_clientFinis();
 	sleep(*timeout++);
     }


-- 
Hans-Werner Paulsen		hans@MPA-Garching.MPG.DE
MPI für Astrophysik		Tel 089-30000-2602
Karl-Schwarzschild-Str. 1	Fax 089-30000-2235	
D-85741 Garching