aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4stringobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-04-16 12:32:17 +0200
committerLars Knoll <lars.knoll@qt.io>2018-05-02 14:19:37 +0000
commitf1162921dfba638585f2c10760443df003ae7e4c (patch)
treef696a4ced54c5ff3f40d24c0e862fa1ecd300314 /src/qml/jsruntime/qv4stringobject.cpp
parentcf4a68d5bc85877e1166117aa0d4c520509d1c0e (diff)
Correctly check length limit in Array.push()
getLength() returns a 64 bit value, so check against UINT_MAX instead of checking for an implicit overflow Change-Id: I9ac7f582a85bc696faa42dd10170b9b03b33bcf9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject.cpp')
0 files changed, 0 insertions, 0 deletions