(gdb) bt
#0 0x282d034c in fclose () from /lib/libc.so.6
#1 0x08055559 in ipmi_sdr_dump_bin (intf=0x80d3e60, ofile=0xbfbfeea8
"/var/spool/ipmi_sdrcache/foo-ipmi.cust00.tmp") at ipmi_sdr.c:3846
#2 0x08056236 in ipmi_sdr_main (intf=0x80d3e60, argc=3, argv=0xbfbfed84)
at ipmi_sdr.c:4179
#3 0x08079c8e in ipmi_cmd_run (intf=0x80d3e60, name=0xbfbfee9f "sdr",
argc=3, argv=0xbfbfed84) at ipmi_main.c:207
#4 0x0807aa1d in ipmi_main (argc=11, argv=0xbfbfed64, cmdlist=0x80bb4c0,
intflist=0x0) at ipmi_main.c:601
#5 0x0804ad46 in main (argc=11, argv=0xbfbfed64) at ipmitool.c:115
I'm going through each instance and each instance of fclose() in the code
and ensure that we've initalized the pointer value before we fclose() it.
$ grep -ir "fclose(fp)" foo/ipmitool/work/ipmitool-1.8.8/* | wc -l
19
# grep -ir "fclose(fp)" ipmitool-1.8.9/*|wc -l
18
l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
http://www.spiritual-machines.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ipmitool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel