bug-cfengine
[Top][All Lists]
Advanced

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

Re: gcc4 compilation error


From: Jeff Sheltren
Subject: Re: gcc4 compilation error
Date: Thu, 17 Mar 2005 11:00:26 -0800
User-agent: Microsoft-Entourage/11.0.0.040405

On 3/17/05 9:46 AM, "Jeff Sheltren" <address@hidden> 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






reply via email to

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