Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#51 properly constrain username to 16 chars 1.8.11

closed-fixed
nobody
None
5
2012-05-15
2012-04-12
Jim Mankovich
No

The ipmitool will core dump if presented with a username >= to 16 characters. This patch resolves this problem by properly verifying that the username is no greater than 16 characters in length. In addition, the set password function was changed to use a stack based msg_data buffer instead of using malloc so that it was consistent with the set username implementation. The set password function was doing a malloc without a free, so it's implementation was incorrect.

Discussion

  • Jim Mankovich
    Jim Mankovich
    2012-05-15

    committed to cvs

     
  • Jim Mankovich
    Jim Mankovich
    2012-05-15

    • status: open --> closed-fixed