BIOSUtilities v25.04.02

Improved UAF module detection at AMI UCP Extract
Fixed crashes at Dell PFS and Award BIOS Extract
Upgraded dependency "dissect.util" to 3.20
This commit is contained in:
Plato Mavropoulos 2025-04-03 00:14:35 +03:00
parent 40553b3244
commit a0e0ae7557
9 changed files with 21 additions and 12 deletions

View file

@ -4,7 +4,7 @@
"""
AMI UCP Extract
AMI UCP Update Extractor
Copyright (C) 2021-2024 Plato Mavropoulos
Copyright (C) 2021-2025 Plato Mavropoulos
"""
import contextlib
@ -341,6 +341,9 @@ class AmiUcpExtract(BIOSUtility):
uaf_mod_len: int = uaf_hdr.ModuleSize
if uaf_mod_len < 0x400:
continue
uaf_mod_dat: bytes = uaf_mod_buf[:uaf_mod_len]
if uaf_mod_len != len(uaf_mod_dat):