airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
30.65k stars 2.88k forks source link

variable not modified in loop #2859

Open RabbiArt opened 2 years ago

RabbiArt commented 2 years ago

https://github.com/airbnb/lottie-web/blob/6faae912910b2d7be6c5422ef4621f3933c19d60/build/player/lottie.js#L9855

In the while loop the variable i is not modified, neither is len.

This can run into an endless loop!?

kudanai commented 1 year ago

Good spot. Marking it as a bug although it's likely the loop will exit given the structure of of Lottie. Probably a good idea to fix that anyway

nabin-nath commented 1 year ago

@kudanai can i work on this issue?

recursiveway commented 1 year ago

@kudanai can you check the pr #2925 for this issue

Indramohan98 commented 10 months ago

Is this issue is still open? I can see 2 PR's are still open.