From: Zdenek S. <st...@us...> - 2013-05-22 13:51:42
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5759/lib Modified Files: ipmi_main.c Log Message: ID: 3522740 - reading password from file is limited to 16byte passwords Commit fixes switched values(const<->size) passed to memset(). Index: ipmi_main.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_main.c,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** ipmi_main.c 22 May 2013 10:16:59 -0000 1.44 --- ipmi_main.c 22 May 2013 13:51:40 -0000 1.45 *************** *** 108,112 **** } ! memset(pass, 21, 0); fp = ipmi_open_file_read((const char *)filename); if (fp == NULL) { --- 108,112 ---- } ! memset(pass, 0, 21); fp = ipmi_open_file_read((const char *)filename); if (fp == NULL) { |