mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-28 13:24:32 +00:00
reintroduce missing offset parameter in PE resource data parsing
This commit is contained in:
parent
934d84ffea
commit
ed2e775e77
@ -385,7 +385,7 @@ ResourceNode* Parser::parse_resource_node(
|
||||
if ((0x80000000 & data_rva) == 0) { // We are on a leaf
|
||||
uint32_t offset = base_offset + data_rva;
|
||||
|
||||
if (not this->stream_->can_read<pe_resource_data_entry>()) {
|
||||
if (not this->stream_->can_read<pe_resource_data_entry>(offset)) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user