diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-09-27 05:17:25 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-09-27 05:17:25 (GMT) |
commit | e90cffc2c5f313cc813d0a21a1d9d0afe8d0ea7a (patch) | |
tree | d0ab4ed127240ad7159188f1354247a23ee24699 /mkspecs/solaris-cc-64-stlport | |
parent | 872872f3d3f0d89010d3a196b70e8445a08d0784 (diff) | |
download | Qt-e90cffc2c5f313cc813d0a21a1d9d0afe8d0ea7a.zip Qt-e90cffc2c5f313cc813d0a21a1d9d0afe8d0ea7a.tar.gz Qt-e90cffc2c5f313cc813d0a21a1d9d0afe8d0ea7a.tar.bz2 |
Crash in QDeclarativeCompiler::indexOfProperty
In QDeclarativePropertyCache, plain integer bitfield overrideIndex is
initialized with -1 in class constructor. Unfortunately, ARM compiler
treats bitfields as unsigned, unless explicitly defined as signed [1].
Therefore, overrideIndex actually gets initial value of 2147483647,
which causes array operations done with the index to fail.
As a fix, define overrideIndex as signed int bitfield.
[1] http://www.keil.com/support/man/docs/armccref/armccref_Babjddhe.htm
Under bitfields/Note: "A plain bitfield, declared without either
signed or unsigned qualifiers, is treated as unsigned"
Task-number: QT-5285
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'mkspecs/solaris-cc-64-stlport')
0 files changed, 0 insertions, 0 deletions