On Thu, 2005-03-17 at 11:00 -0800, Jeff Sheltren wrote: > 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
The symbols you mention are macro values, so they do not have symbols in the debugger. This is ok. Mark _______________________________________________ Bug-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-cfengine
