aboutsummaryrefslogtreecommitdiffstats
path: root/src/src.pro
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-01-05 16:33:37 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2018-01-07 20:14:49 +0000
commit6d9e2356d161907353a5fde3123fca508c883e9e (patch)
tree45d66e4637657fef5dbe4d24c31ab3e21c623f03 /src/src.pro
parent8d83267dced1b36145421ae1bf5eee6209400d76 (diff)
Fix ASAN stack-use-after-scope error in CmpInstanceOf instruction
This is triggered by tst_qqmlecmascript::sequenceConversionThreads(). The call to fromReturnedValue(acc) creates a temporary value and the as() cast call returns a pointer to the temp. That becomes a dangling pointer when the temp goes out of scope. Duplicating the fromReturnedValue() avoids this and at least gcc is clever enough to collapse the isObject() code for both uses. Change-Id: I741206b0c10d16fcc4ffdf68532a721f74c1b0dc Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/src.pro')
0 files changed, 0 insertions, 0 deletions