LongSoft/Universal-IFR-Extractor

Last UEFIFormSet at end of file

DeathBringer opened this issue · 5 comments

If last UEFIFormSet is at the end of the file, then it is considered incorrect and dropped.
This also applies to UEFIStringPackages
Replace in file UEFI.cpp
16) < buffer.size()
with
16) <= buffer.size()

There are two findings of 16) < buffer.size in UEFI.cpp, and even if there were less, the description is not clear enough in regards to the bug. Could you provide a test file?

Patch two cases.
Attach source (binary) & result (text) file and I'll show you a bug.

I am afraid you forgot to include the attachments.

No, I'm waiting attachments from you.

Saw it & fixed.