Package: rlottie / 0.1+dfsg-2
Metadata
| Package | Version | Patches format |
|---|---|---|
| rlottie | 0.1+dfsg-2 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| Fix stb include.patch | (download) |
src/vector/stb/stb_image.cpp |
2 1 + 1 - 0 ! |
fix path to stb header |
| Custom IterativeReader.patch | (download) |
src/lottie/lottieparser.cpp |
70 66 + 4 - 0 ! |
reimplement iterativeparseinit and iterativeparsenext In order to use the old rapidjson v1.1.0, we have to implement IterativeReader class by ourselves. |
| Cache compatibility.patch | (download) |
inc/rlottie.h |
30 30 + 0 - 0 ! |
hacks for cache compatibility In order to provide backward compatibility with previous versions of the package available in Debian, the patch temporary reintroduces the loadFromFile and the loadFromData methods with old signature. These methods are intended for use by non-rebuilt binaries. . The modification turns caching off by default. If a client supports rlottie's cache, it may call configureModelCacheSize to inform the library. |
| Bump soversion.patch | (download) |
CMakeLists.txt |
8 4 + 4 - 0 ! |
bump soversion number |
| No cyclic layers.patch | (download) |
src/lottie/lottieitem.cpp |
12 11 + 1 - 0 ! |
check for layer parent-child links |
| Check buffer length.patch | (download) |
src/vector/vrle.cpp |
45 31 + 14 - 0 ! |
check buffer length in vrle. Should fix CVE-2021-31315 related issues. |
| Fix crash in malformed animations.patch | (download) |
src/lottie/lottiemodel.h |
12 9 + 3 - 0 ! |
fix crash in malformed lottie animations. |
| Fix crash on invalid data.patch | (download) |
src/lottie/lottieitem.cpp |
3 3 + 0 - 0 ! |
fix some crashes on invalid data. Should fix CVE-2021-31318, CVE-2021-31319, CVE-2021-31320, CVE-2021-31322. |
| Freetype raster.patch | (download) |
src/vector/freetype/v_ft_raster.cpp |
19 19 + 0 - 0 ! |
verify array length before writing in freetype An attempt to fix CVE-2021-31321 based on John Preston's commit. https://github.com/desktop-app/rlottie/commit/d369d84e868352886cee48eecb60b462f6dfe067 |
| Fortify lottie parser.patch | (download) |
src/lottie/lottiemodel.h |
2 1 + 1 - 0 ! |
fortify lottie parser |
| Extend mDash array.patch | (download) |
src/lottie/lottiemodel.cpp |
2 1 + 1 - 0 ! |
an attempt to fix cve-2021-31317 After conversation on GitHub PR, I've added check of data size in LOTDashProperty::getDashInfo method. However, a call to the push_back method remains, it should not hurt anything. |
| Include limits header.patch | (download) |
src/vector/vrle.cpp |
1 1 + 0 - 0 ! |
explicitly include <limits> header. Bug: https://github.com/Samsung/rlottie/pull/442 Bug-Debian: https://bugs.debian.org/984323 |
| Zero corrupt point.patch | (download) |
src/lottie/lottieparser.cpp |
2 1 + 1 - 0 ! |
put zero point in case of corrupted shape data Upstream rlottie at the master branch seems to be not affected by the crash. They refactored the corresponding code. Bug-Debian: https://bugs.debian.org/974095 |
| Avoid nullptr in solidColor.patch | (download) |
src/lottie/lottiemodel.h |
10 5 + 5 - 0 ! |
fix dereferencing of null pointer in model::layer::solidcolor() getter Also remove unnecessarily check of mExtra->mAsset in the asset() getter. |
