mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-19 17:55:20 -04:00
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:
parent
40553b3244
commit
a0e0ae7557
9 changed files with 21 additions and 12 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue