1
0
Fork
You've already forked ipmitool
0
forked from IPMITool/ipmitool

zhikuire/fru_edit_crash_fix #1

Merged
Lexden merged 4 commits from zhikuire/fru_edit_crash_fix into master 2023年10月02日 23:43:01 +02:00
Collaborator
Copy link

rebased with latest master and fix ipmitool crash with fru edit

rebased with latest master and fix ipmitool crash with fru edit
Get rid of the magic `5` in `struct fru_header`
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
Add a macro for future use to replace numerous
magic `8`s used for block size.
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
fru edit command can increase fru size. Allocate new fru data with
the bigger size. This fixes ipmitool crash when fru edit increases fru
size.
Tested:
fru edit command that increases fru size complete successfully.
Signed-off-by: Zhikui Ren <zhikui.ren@intel.com>
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Lexden/ipmitool!1
Reference in a new issue
Lexden/ipmitool
No description provided.
Delete branch "zhikuire/fru_edit_crash_fix"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?