1
0
mirror of synced 2024-12-23 21:14:51 +01:00
ImHex/plugins/hashes/source
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
..
content fix: Segfault when hashing regions spanning multiple MiBs (#1804) 2024-07-21 20:35:38 +02:00
plugin_hashes.cpp feat: Move hashes into plugin, merged in extra hashes plugin 2023-12-23 22:01:47 +01:00