nack. The ipmi_parse_hex outputs head\0tail. The tail is excluded from the min calculation for the memcpy.
----- Original Message ----- From: "Zdenek Styblik" <zdenek.styb...@gmail.com> To: "ipmitool-devel" <ipmitool-devel@lists.sourceforge.net> Sent: Thursday, July 18, 2013 6:00:39 AM Subject: [Ipmitool-devel] Closure proposal - ID: 59 - option -y and 00 in key string bug Hello, I want to close ticket ``59 - option -y and 00 in key string bug'' >> https://sourceforge.net/p/ipmitool/bugs/59/ <<. I really don't see any '00' bug in there nor it does much sense as '00' !~ '\0' and '0' !~ '\0'. It just doesn't make sense. I've tried to supply kgkey with '00' in it as suggested in ticket, but I couldn't find anything. I admit I don't know how ipmi_parse_hex() works. I also admit char -> uint8_t is a bit of worry. But, nonetheless, I can see no bug in there. And therefore I would like to close this ticket. The only change I propose is to add memset() in ipmi_parse_hex() and "erase" newly allocated chunk of memory(diff attached). Thoughts? Opinions? Ideas? Thanks, Z. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel