Forum: Cfengine Help
Subject: Re: Cfengine 3.0.5 segmentation fault with a bundle
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17578,17580#msg-17580
for those interested, I've tracked down this fault to its roots and wrote the
patch which fixes it:
--- src/args.c.orig 2010-06-23 11:34:14.000000000 +0400
+++ src/args.c 2010-06-23 11:34:32.000000000 +0400
@@ -104,7 +104,7 @@
break;
case CF_FNCALL:
- fp = (struct FnCall *)rpt->item;
+ fp = (struct FnCall *)rpg->item;
dtg = FunctionReturnType(fp->name);
// Should not happen in this context?
break;
This patch is applied against cfengine-3.0.5.tar.gz source code.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine