[flow-tools] flow-export 0.56 segfaults

Gerald Combs gcombs@netisinc.com
Mon, 8 Apr 2002 16:11:43 -0500


I recently installed flow-tools 0.56, and every time I run
"flow-export -f1" I get a segmentation fault.  Here's the gdb backtrace:

#0  0x0804a20f in format1 (ftio=0xbffff800, opt=0xbffff790)
    at flow-export.c:503
#1  0x080494e8 in main (argc=2, argv=0xbffff9c4) at flow-export.c:136
#2  0x40069306 in __libc_start_main (main=0x8049310 <main>, argc=2,
    ubp_av=0xbffff9c4, init=0x8048e1c <_init>, fini=0x8062a40 <_fini>,
    rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbffff9bc)
    at ../sysdeps/generic/libc-start.c:129

The variable "cur" is being referenced without being initialized.