help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.1.18 cfservd bug in StrStr call


From: Joe Buehler
Subject: 2.1.18 cfservd bug in StrStr call
Date: Tue, 10 Jan 2006 14:42:08 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

I reported this for 2.1.17 and it still has not been fixed.

cfservd.c line 419:

if (StrStr(VSYSNAME.nodename,ToLowerStr(VDOMAIN)))

The problem is that ToLower is returning a pointer to an internal static
char buffer and StrStr also uses ToLowerStr internally.  When StrStr
calls ToLower internally that has the side-effect of clobbering
the argument that was passed.
-- 
Joe Buehler





reply via email to

[Prev in Thread] Current Thread [Next in Thread]