From 482ac8738eaa43b74fbe3db5bddf006410a9177c 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 --- 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 9cf17b2897..ac2b407649 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;