Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 259548.70@safari-7615-branch (4f0cd71). https://bugs.webk…
…it.org/show_bug.cgi?id=247835 Fix use of uninitialized memory in TransformationMatrix decompose() https://bugs.webkit.org/show_bug.cgi?id=247835 <rdar://102263762> Reviewed by Dean Jackson. Fixes decompose4 to check for a failing return value from inverse, and early returns, rather than continuing with the output matrix uninitialized. Also adds WARN_UNUSED_RETURN to decompose2/4 to ensure that all callers handle this case. * Source/WebCore/Modules/webxr/WebXRRigidTransform.cpp: (WebCore::m_rawTransform): * Source/WebCore/animation/KeyframeEffect.cpp: (WebCore::KeyframeEffect::computeTransformedExtentViaTransformList const): (WebCore::KeyframeEffect::computeTransformedExtentViaMatrix const): * Source/WebCore/platform/graphics/transforms/RotateTransformOperation.cpp: (WebCore::RotateTransformOperation::blend): * Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::decompose4): * Source/WebCore/platform/graphics/transforms/TransformationMatrix.h: Canonical link: https://commits.webkit.org/259548.70@safari-7615-branch
- Loading branch information
1 parent
609a757
commit 5ea8890
Showing
6 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters