[Top][All Lists]

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

Re: gcc4 compilation error

From: Mark Burgess
Subject: Re: gcc4 compilation error
Date: Fri, 18 Mar 2005 16:39:10 +0100

On Thu, 2005-03-17 at 11:00 -0800, Jeff Sheltren wrote:
> 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

The symbols you mention are macro values, so they do not have symbols in
the debugger. This is ok.


reply via email to

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