mirror of
https://github.com/QuasarApp/pe-parse.git
synced 2025-04-27 12:54:31 +00:00
* Fix undefined behavior unaligned accesses in buffer reads Uses memcpy instead of reinterpret_cast to fix undefined behavior See https://blog.quarkslab.com/unaligned-accesses-in-cc-what-why-and-solutions-to-do-it-properly.html * Replace reinterpret_cast with memcpy in readChar16