You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
In the common section, there are options to control which sections are included in the FRU file, starting with include_. If one of those include_ statements is removed, the tool assumes the removed include statement is "true". As a result, the header of the fru binary contains offsets to those FRU-sections, and blank FRU sections are inserted at those fields. This results in an invalid FRU.
Reproducer:
The issue can be reproduced with the following toml configuration.
Version: 4.0.1 (pip)
Problem:
In the
common
section, there are options to control which sections are included in the FRU file, starting withinclude_
. If one of thoseinclude_
statements is removed, the tool assumes the removedinclude
statement is "true". As a result, the header of the fru binary contains offsets to those FRU-sections, and blank FRU sections are inserted at those fields. This results in an invalid FRU.Reproducer:
The issue can be reproduced with the following
toml
configuration.I did not do any in-depth investigation in the source-code, but if you would like me to help with the fix, let me know.
The text was updated successfully, but these errors were encountered: