This is fine Jonathan, thanks a lot

Jonathan Clarke wrote:
> Hi,
> 
> Consider this promise:
> 8<---------
> body common control {
> 
>     bundlesequence => { "mybundle" };
> }
> 
> bundle agent mybundle {
>     vars:
>         "name" string => "jonathan";
> 
>     commands:
>         "/bin/echo"
>             args => "@(name)";
> }
> 8<---------
> 
> Running this through cf-promises or cf-agent causes a SEGFAULT (using
> versions compiled from svn trunk).
> 
> Obviously, this is silly (using @ on a scalar var). However, I feel a
> SEGFAULT should be avoided, since it will break any other following
> promises.
> 
> I have attached a patch against SVN trunk, which corrects the problem.
> I'm not sure however that this is the best way to do so... I'm new to
> this code :)
> 
> Regards,
> Jonathan
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bug-cfengine mailing list
> Bug-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/bug-cfengine

-- 
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to