From: subhransu mohanty Date: Wed, 19 Jun 2019 00:09:04 +0000 (+0900) Subject: rlottie: fix typo which was causing invalid memory read X-Git-Tag: submit/tizen/20190619.051039~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b67384c60aa0235772f62c598e4d30da43c703c;p=platform%2Fcore%2Fuifw%2Flottie-player.git rlottie: fix typo which was causing invalid memory read Change-Id: I724b9097b4239702807bc82c2dbd15e6bb31b369 --- 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;