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 by adding boundary check for the DecodeStream::readByteData() method. #2240

Closed domchen closed 1 month ago

codecov-commenter commented 1 month ago

Codecov Report

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

Project coverage is 60.62%. Comparing base (1a80d77) to head (81587ab).

Files Patch % Lines
src/codec/utils/DecodeStream.cpp 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2240 +/- ## ========================================== - Coverage 60.71% 60.62% -0.10% ========================================== Files 385 385 Lines 22042 22042 Branches 6402 6402 ========================================== - Hits 13382 13362 -20 - Misses 4671 4673 +2 - Partials 3989 4007 +18 ```

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