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 from someone who knows.
Yahoo! Answers - Check it out. 
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to