Asan false positive: stack use after scope under WebCore::ApplyPropertyBorderImageMod...
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2018 01:49:50 +0000 (01:49 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2018 01:49:50 +0000 (01:49 +0000)
commit3912218a48905fd4071fa8f65b83b32e823da4fd
tree02a772ebcf4f1229c00729d0d640a9e25f805190
parentd1a3d3d991f36d297b0cfbbe1aac5d2f289587fd
Asan false positive: stack use after scope under WebCore::ApplyPropertyBorderImageModifier in WebCore::Length::Length(WebCore::Length&&)
https://bugs.webkit.org/show_bug.cgi?id=186980
<rdar://problem/41409838>

Reviewed by Oliver Hunt.

We believe that we have found a bug in GCC's address sanitizer. It is blocking work on other
issues, so work around it by changing a temporary into a local variable.

* css/StyleBuilderCustom.h:
(WebCore::ApplyPropertyBorderImageModifier::applyInitialValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/StyleBuilderCustom.h