Comments (1)
Fuzz testing is being in progress, and I found three new JSONs that broke rLottie.
Cases 7, 8
Assertion failures in ft_stroke_border_export and model::Trim::(no)?loop and then stack buffer overflow if the NDEBUG macro is defined.
014f.json {"v":"0","op":5,"h":3,"layers":[{"ty":4,"ks":{},"shapes":[{"ty":"sr","pt":{"k":[{"i":{},"e":[10000]}]},"or":{"k":[{"i":{},"s":[1]},{"t":4}]},"os":{"k":[{"i":{},"s":[5]},{"t":4}]}},{"ty":"st","w":{"k":2}}],"op":5}]}
016f.json {"v":"0","op":9,"layers":[{"ty":4,"ks":{},"shapes":[{"ty":"tm","s":{"k":[{"i":{},"o":{"y":[9]},"s":[1]},{"t":9}]},"o":{"k":5}}],"op":9}]}
Click to see output (lottie2gif ...)
mymedia@barberry:~/rlottie$ build/example/lottie2gif fuzz/collect/014f.json
lottie2gif: /home/mymedia/rlottie/src/vector/freetype/v_ft_stroker.cpp:666: void ft_stroke_border_export(SW_FT_StrokeBorder, SW_FT_Outline*): Assertion `SW_FT_Outline_Check(outline) == 0' failed.
Aborted
mymedia@barberry:~/rlottie$ build/example/lottie2gif fuzz/collect/016f.json
lottie2gif: /home/mymedia/rlottie/src/lottie/lottiemodel.h:1058: rlottie::internal::model::Trim::Segment rlottie::internal::model::Trim::noloop(float, float) const: Assertion `start >= 0' failed.
Aborted
Case 9
Deadlock due to an unset guard flag in SharedRle.
017f.json {"v":"5.1.17","fr":30,"op":30,"w":300,"h":300,"layers":[{"op":30,"ty":4,"ks":{},"shapes":[{"ty":"rc","s":{"k":[{"i":{},"s":[1,1],"e":[111111]},{"t":3}]}},{"ty":"st","w":{"k":1},"d":[{"v":{"k":1}},{"v":{}}]}]}]}
from rlottie.
Related Issues (20)
- Crashes during parsing of malformed JSON files HOT 2
- Only one asynchronous task per animation can be scheduled HOT 4
- On Windows rlottie hangs (forever) on application shutdown when compiled with MinGW HOT 1
- Can't build rlottie with static linking using MinGW
- librlottie-image-loader.so lacks SONAME HOT 2
- JSON license could be removed HOT 1
- Use after free in surface cache code
- Add API for clearing the cache HOT 2
- totalFrame() is one frame less
- ClamAV reports viruses found from rlottie's source HOT 1
- Suggest fuzzer for rlottie::Animation::loadFromFile()
- How to get all keypaths?
- How to adapt to high-definition screen
- Cannot build for wasm, trying fix security issue HOT 1
- What is missing in the text_support branch to finish the feature?
- Performance regression with Blendmode introduction HOT 5
- How to port it to 2d gpu
- Simple moving circle not playing properly HOT 1
- Is the underlying graphics rendering using opengl? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rlottie.