mirror of https://github.com/Gnucash/gnucash
Casting a char* to a struct containing a uint32_t is not universally safe due to alignment constraints on reads on some platforms. Copy our possibly unaligned source data into an aligned area of memory to avoid SIGBUS on armhf. Reported by vorlonofportland in PR#403. This commit the John's optimized version of Vorlon's proposed fix.pull/404/head
parent
4c87dd05ec
commit
d07f759ca3
Loading…
Reference in new issue