aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-11-25 09:21:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-25 17:34:51 +0100
commitce38c71b1c300f700a9ff004b7c163cc290ecae9 (patch)
treea347b2b4e55e8fb457855f111e5f9cd1921c0a48 /tests
parent87da2a2526aa03dd43254730a6e675e83c7c1342 (diff)
Fix out of bounds array access when index is integer and negativev5.2.0-rc1
When the index is a double, the branchTruncateDoubleToUInt takes care of branching when the index is negative, but when it's an integer we need to perform that check ourselves. Without the patch it's rather easy to cause the application to crash. Change-Id: If908923ddc2077b3fb3dd42350f038ff0072e8e1 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions