From 3b67384c60aa0235772f62c598e4d30da43c703c Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Wed, 19 Jun 2019 09:09:04 +0900 Subject: [PATCH] rlottie: fix typo which was causing invalid memory read Change-Id: I724b9097b4239702807bc82c2dbd15e6bb31b369 --- src/lottie/lottiemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lottie/lottiemodel.h b/src/lottie/lottiemodel.h index 9cf17b2..ac2b407 100644 --- a/src/lottie/lottiemodel.h +++ b/src/lottie/lottiemodel.h @@ -138,7 +138,7 @@ inline T lerp(const T& start, const T& end, float t) inline LottieShapeData lerp(const LottieShapeData& start, const LottieShapeData& end, float t) { - if (start.mPoints.size() != start.mPoints.size()) + if (start.mPoints.size() != end.mPoints.size()) return LottieShapeData(); LottieShapeData result; -- 2.34.1