Tencent / libpag

The official rendering library for PAG (Portable Animated Graphics) files that renders After Effects animations natively across multiple platforms.
https://pag.art
Other
4.73k stars 437 forks source link

Fix the heap-buffer-overflow issue caused by the uint32_t overflow in DecodeStream::checkEndOfFile(). #2243

Closed domchen closed 1 month ago

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 87.50000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 60.68%. Comparing base (3689b62) to head (3d9ceca). Report is 1 commits behind head on main.

Files Patch % Lines
src/codec/tags/VideoSequence.cpp 0.00% 0 Missing and 1 partial :warning:
src/codec/utils/DecodeStream.cpp 80.00% 1 Missing :warning:
src/codec/utils/NALUReader.cpp 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2243 +/- ## ========================================== + Coverage 60.62% 60.68% +0.05% ========================================== Files 385 385 Lines 22042 22042 Branches 6402 6402 ========================================== + Hits 13364 13376 +12 - Misses 4667 4670 +3 + Partials 4011 3996 -15 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.