Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MiraMonVector: Fix issue 393742177 oss-fuzz #11783

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

AbelPau
Copy link
Contributor

@AbelPau AbelPau commented Feb 3, 2025

What does this PR do?

Fixes a memory leak that happens in the case where polygon zero creates the database but some error occurs in the creation of the polygon zero. The database must be destroyed and created again next time the polygon zero is created. It's been reproduced in the case of skipFailures==true.

Tasklist

Fixing a memory leak that happens in the case where polygon zero creates the database but some error occurs in the creation of the polygon zero. The database must be destroyed and created again next time the polygon zero is created. It's been reproduced in the case of skipFailures==true.
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 70.061% (-0.001%) from 70.062%
when pulling 6ccef05 on AbelPau:MiraMonVector-Fix-Issue-393742177
into f82e760 on OSGeo:master.

@AbelPau AbelPau marked this pull request as ready for review February 3, 2025 11:43
@dbaston
Copy link
Member

dbaston commented Feb 3, 2025

@rouault would you want a test for something like this?

@rouault
Copy link
Member

rouault commented Feb 3, 2025

@rouault would you want a test for something like this?

if that was life critical software, we should, but the amount of effort needed to pass those error code paths can be enormous... (like 10 times or more the amount of tests that is required to cover nominal code paths)

@rouault rouault added the backport release/3.10 Backport to release/3.10 branch label Feb 3, 2025
@rouault rouault merged commit d890cbc into OSGeo:master Feb 3, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release/3.10 Backport to release/3.10 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants