Skip to content

Use RAII to avoid leaks in PNG reader.#26720

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
vrabaud:png_leak
Jan 8, 2025
Merged

Use RAII to avoid leaks in PNG reader.#26720
asmorkalov merged 1 commit intoopencv:4.xfrom
vrabaud:png_leak

Conversation

@vrabaud
Copy link
Copy Markdown
Contributor

@vrabaud vrabaud commented Jan 6, 2025

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

@vrabaud vrabaud added this to the 4.11.0 milestone Jan 6, 2025
@vrabaud vrabaud requested a review from asmorkalov January 6, 2025 14:23
@vrabaud
Copy link
Copy Markdown
Contributor Author

vrabaud commented Jan 6, 2025

Running fuzz tests locally for 10 minutes did not trigger anything. Let's hope this is the last one ...

@asmorkalov asmorkalov merged commit 4b35101 into opencv:4.x Jan 8, 2025
@vrabaud vrabaud deleted the png_leak branch January 8, 2025 08:05
@asmorkalov asmorkalov mentioned this pull request Jan 15, 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