aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/qml-i18n/i18n
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-07-16 15:35:18 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-07-17 07:11:08 +0000
commitd7b22cefde6cc0f38ac1dd4ee3cee107f47e9655 (patch)
tree39469a77c389b868fc5f7ec164d247f1d69bb28b /examples/qml/qml-i18n/i18n
parent6c2665edbaa2138755508b4ec231a028446e29b9 (diff)
Fix unaligned memory access on ARM
When decoding the bytecode, we must be careful to avoid that the compiler generates aligned memory access instructions, because the current byte code pointer may not be aligned at all. When decoding integer parameters, the existing code would expland to qFromLittleEndian(reinterpret_cast<const int>(code)[-nargs+offset]) which loads the integer from the array before passing it by value to qFromLittleEndian. [ChangeLog][QtQml] Fix crashes with unaligned memory access on ARM. Task-number: QTBUG-69328 Change-Id: Ib1c66113e2b8e103ad6f5de11443a561d23a4185 Reviewed-by: Bhushan Shah <bshah@kde.org> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'examples/qml/qml-i18n/i18n')
0 files changed, 0 insertions, 0 deletions