diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-10-15 12:27:26 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-10-16 12:25:35 +0000 |
commit | e989f4cb89071617c401f2b3285013468c88f291 (patch) | |
tree | e742054ec1d1c62a6292d9c5d4e0874349811705 | |
parent | fe065266295e0c10ca35bcebaf37241f20e4a3cf (diff) | |
download | qtwebengine-chromium-e989f4cb89071617c401f2b3285013468c88f291.tar.gz |
[Backport] Security issue 964938
Attempt to resolve the msan bug reported.
The bug is not reproducible locally. So just
trying this to see whether it has any effect
on clusterfuzz.
Bug: 964938
Change-Id: I1ac7bee442facf2f4764b16e80caa766e0000e75
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670492}
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
-rw-r--r-- | chromium/ui/events/gesture_detection/velocity_tracker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/ui/events/gesture_detection/velocity_tracker.cc b/chromium/ui/events/gesture_detection/velocity_tracker.cc index b0f984026e4..0f2cffc1455 100644 --- a/chromium/ui/events/gesture_detection/velocity_tracker.cc +++ b/chromium/ui/events/gesture_detection/velocity_tracker.cc @@ -630,7 +630,7 @@ bool LeastSquaresVelocityTrackerStrategy::GetEstimator( degree = m - 1; if (degree >= 1) { - float xdet, ydet; + float xdet = 0, ydet = 0; uint32_t n = degree + 1; if (SolveLeastSquares(time, x, w, m, n, out_estimator->xcoeff, &xdet) && SolveLeastSquares(time, y, w, m, n, out_estimator->ycoeff, &ydet)) { |