Thanks. What a bizarre bit of code. (Not mine)
M
On Thu, 2005-10-27 at 21:00 -0400, [EMAIL PROTECTED] wrote:
> This patch courtesy Nikolay Sturm <[EMAIL PROTECTED]> for src/cfrun.c
> against 2.1.16:
>
> @@ -603,7 +604,7 @@ while (!feof(fp))
>
> if (strncmp(line,"hostnamekeys",6) == 0)
> {
> - char buf[16];
> + char buf[296];
> buf[0] = '\0';
> sscanf(line,"hostnamekeys = %295[^# \n]",buf);
> Verbose("Hostname keys\n");
>
>
>
> _______________________________________________
> Bug-cfengine mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-cfengine
_______________________________________________
Bug-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cfengine