[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in absolute link causes Seg. Fault
From: |
Robert Shaw |
Subject: |
Bug in absolute link causes Seg. Fault |
Date: |
Fri, 23 Feb 2001 14:29:15 -0700 |
Mark,
When you have an absolute link that cannot be created, the program
seg-faults like shown (this is with version 1.6.3):
cf:arizona: Failed to make absolute link in
Segmentation fault
Attached is the patch to fix it. There's a problem with the sprintf line
that needs to be fixed.
-Robert
--- src/link.c 2001/02/22 20:46:53 1.1.1.2
+++ src/link.c 2001/02/23 21:26:06 1.2
@@ -761,7 +761,7 @@
if (!ExpandLinks(expand,absto,0)) /* begin at level 1 and beam out at 15 */
{
CfLog(cferror,"Failed to make absolute link in\n","");
- sprintf("%s: %s -> %s\n",from,to);
+ sprintf(OUTPUT,"%s -> %s\n",from,to);
CfLog(cferror,OUTPUT,"");
return false;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in absolute link causes Seg. Fault,
Robert Shaw <=