Describe the bug
Since commit 6d0a28f1c3
The ipmitool fru edit does not calculate the initial fru section offset properly (using offsetof() function is not working) and crash most of the time.
For example first field of product section
ipmitool fru edit 0 field p 0 "Testing" will crash on my side.
IPMITOOL Version
Commit 6d0a28f1c3
**Describe the bug**
Since commit https://codeberg.org/IPMITool/ipmitool/commit/6d0a28f1c395f59bcd713c6efccaa3ea17a684b1
The ipmitool fru edit does not calculate the initial fru section offset properly (using offsetof() function is not working) and crash most of the time.
For example first field of product section
ipmitool fru edit 0 field p 0 "Testing" will crash on my side.
**IPMITOOL Version**
Commit 6d0a28f1c395f59bcd713c6efccaa3ea17a684b1