Skip to content

Fix a crashing situation when reading file with wesn but no -R was used - #8860

Merged
joa-quim merged 1 commit into
masterfrom
fix-crash-wesn
Jan 7, 2026
Merged

joa-quim merged 1 commit into
masterfrom
fix-crash-wesn

Conversation

@joa-quim

@joa-quim joa-quim commented Jan 7, 2026

Copy link
Copy Markdown
Member

In that case the allocated memory was calculated on base of the new wesn subset but gdalread still tried to read the whole file.

@joa-quim
joa-quim requested a review from a team January 7, 2026 14:18

@Esteban82 Esteban82 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved blindly. Let me know if you have an example to test it.

@joa-quim

joa-quim commented Jan 7, 2026

Copy link
Copy Markdown
Member Author

No, I haven't. I found this when I was trying to write another code but didn't keep it.

@joa-quim
joa-quim merged commit 2ee15e4 into master Jan 7, 2026
10 of 13 checks passed
@joa-quim
joa-quim deleted the fix-crash-wesn branch January 7, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants