On 3/17/05 9:46 AM, "Jeff Sheltren" <[EMAIL PROTECTED]> wrote:

> I added the attached patch and was able to compile again without errors -
> although there were quite a few warnings.  Unfortunately, I'm still getting
> a buffer overflow when I run any of the binaries and I'm not sure what is
> causing that.  I'll try to do some more debugging.
> 
> -Jeff

Looks like the buffer overflow is happening on line 52 of crypto.c due to
the fact that CF_BUFSIZE isn't available there.  From a gdb run:

Breakpoint 1, RandomSeed () at crypto.c:52
(gdb) print CF_BUFSIZE
No symbol "CF_BUFSIZE" in current context.
(gdb) print CF_AVDB_FILE
No symbol "CF_AVDB_FILE" in current context.

AVDB and CFWORKDIR are defined OK.

-Jeff




_______________________________________________
Bug-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cfengine

Reply via email to