Hello,

attached is a patch to fix use of uninitialized variable 'instance' in
'lib/ipmi_sol.c', resp. 'sol looptest'. I don't have any hardware to
test at, so it would be great if somebody could give it a go.

Thanks,
Z.

--
Zdenek Styblik
email: zdenek.styb...@gmail.com
jabber: zdenek.styb...@gmail.com
Index: lib/ipmi_sol.c
===================================================================
RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_sol.c,v
retrieving revision 1.70
diff -u -r1.70 ipmi_sol.c
--- lib/ipmi_sol.c      8 Dec 2013 20:45:17 -0000       1.70
+++ lib/ipmi_sol.c      9 Dec 2013 06:13:12 -0000
@@ -2058,7 +2058,7 @@
                /* SOL loop test: Activate and then Dectivate */
                int cnt = 200;
                int interval = 100; /* Unit is: ms */
-               uint8_t instance;
+               uint8_t instance = 1;
                if (argc > 4) {
                        print_sol_usage();
                        return -1;
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to