1
0
mirror of synced 2024-12-24 05:24:52 +01:00
ImHex/plugins/hashes/source/content
Jean-François Nguyen e50b6733c4
fix: Segfault when hashing regions spanning multiple MiBs (#1804)
### Problem description

Attempting to do an MD5 hash of a large region (e.g. 2 MiB, ``u8
data[0x200000]``) crashes with a segfault.

### Implementation description

In ``hex::plugin::hashes::hashProviderRegionWithHashLib()``,
``hashFunction->TransformBytes()`` is called with an offset of 0,
because it iterates over ``data`` and not the entire region.
2024-07-21 20:35:38 +02:00
..
views build: Updated ImGui to v1.90.5 2024-04-12 22:56:10 +02:00
hashes.cpp fix: Segfault when hashing regions spanning multiple MiBs (#1804) 2024-07-21 20:35:38 +02:00