From: John B. <jd...@us...> - 2006-03-28 17:01:19
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17434 Modified Files: ipmi_user.c Log Message: ipmi_user.c: only allocated needed 3 bytes in ipmi_user_set_userpriv() Index: ipmi_user.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_user.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ipmi_user.c 19 Mar 2006 20:54:44 -0000 1.17 --- ipmi_user.c 28 Mar 2006 17:01:16 -0000 1.18 *************** *** 355,359 **** struct ipmi_rs * rsp; struct ipmi_rq req; ! uint8_t msg_data[17]; memset(&req, 0, sizeof(req)); --- 355,359 ---- struct ipmi_rs * rsp; struct ipmi_rq req; ! uint8_t msg_data[3]; memset(&req, 0, sizeof(req)); |