Skip to content

GIF: Make sure to resize lzwExtraTable before each block#27081

Merged
asmorkalov merged 3 commits intoopencv:4.xfrom
vrabaud:lzw
Mar 20, 2025
Merged

GIF: Make sure to resize lzwExtraTable before each block#27081
asmorkalov merged 3 commits intoopencv:4.xfrom
vrabaud:lzw

Conversation

@vrabaud
Copy link
Copy Markdown
Contributor

@vrabaud vrabaud commented Mar 17, 2025

This fixes https://g-issues.oss-fuzz.com/issues/403364362

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov self-assigned this Mar 17, 2025
@asmorkalov
Copy link
Copy Markdown
Contributor

@vrabaud I tuned your code a bit to not call clear/alloc for the std::vector twice. I merge the PR as CI is ready.

@vrabaud
Copy link
Copy Markdown
Contributor Author

vrabaud commented Mar 20, 2025

LGTM

@asmorkalov asmorkalov merged commit c10b800 into opencv:4.x Mar 20, 2025
44 of 55 checks passed
@asmorkalov asmorkalov mentioned this pull request Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants