On Mon, Mar 15, 2010 at 8:15 PM, Bojan Smojver <[email protected]> wrote: > On Mon, 2010-03-15 at 08:29 -0800, Aaron Turner wrote: >> Cool. Let me know how it goes and if there's anything I can do to >> help. > > Ah, I see what's going on. Looking at the backtrace of the problems, > here is what stands out: > > /lib/libc.so.6(__fortify_fail+0x4d)[0x3821ed] > > Function __fortify_fail is buffer overflow protection. Have a look at > the line 173 in src/common/cache.c: > > strncpy(cache_header->version, CACHEVERSION, strlen(CACHEMAGIC)); > > Should that be strlen(CACHEVERSION) instead?
Doh. Copy & paste is evil. Thanks for noticing. :) Checked in fix- will be part of 3.4.4. -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin "carpe diem quam minimum credula postero" ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
