diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-01-23 11:01:33 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-01-23 12:45:07 +0100 |
commit | 31d05c6734057bed56ac783d4f9d03d3c2ecbcbb (patch) | |
tree | f33ebf3a68d34568cbc2a26cdac0f4f782d55e3f /src/qml/jsruntime/qv4regexpobject.cpp | |
parent | 6597d990147d21d55449302cb3201e4769e15a2a (diff) | |
download | qtdeclarative-31d05c6734057bed56ac783d4f9d03d3c2ecbcbb.tar.gz |
ArrayPrototype::method_filter: Check for exception after callback
If there was an exception we cannot assume the returned value holds
anything sensible. Also, we should immediately return.
Fixes: QTBUG-81581
Change-Id: I822c204c476e05d6de78124b66ab2f939ca38ffd
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject.cpp')
0 files changed, 0 insertions, 0 deletions