Stefan, thanks for noticing this!
Stefan Wipf wrote: > BUG: > > The following module output results in value 'value1' being assigned to > both variables 'var1' and 'var2': > > =var1=value1 > =var2= > > more generally, var2 is assigned whatever the value of char 'content' > (module.c) happens to be at the time. > > I am using version 2.1.21, but looking at the 2.2.2 source code, all > versions appear to be affected > > > FIX: > Option 1: check the return value of sscanf in module.c > > Option 2: insert "content[0] ='\0';" immediately before the sscanf in > module.c > > > ------------------------------------------------------------------------ > Be a better Heartthrob. Get better relationship answers > <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from > someone who knows. > Yahoo! Answers - Check it out. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bug-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/bug-cfengine -- Mark Burgess Professor of Network and System Administration Oslo University College ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Work: +47 22453272 Email: [EMAIL PROTECTED] Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
