Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Fix for EOFException on NCDump data Unidata/thredds#1342 #1343

Merged

Conversation

Mikhail-Aoun
Copy link

On GlobalHeap instantiation, we should stop reading file data just after we met a HeapObject.id equals to 0. Otherwise, we could be at the end of the file and a EOFException will be raised. Addresses the github issue #1342.

…ter we met a HeapObject.id equals to 0. Otherwise, we could be at the end of the file and a EOFException will be raised. Addresses the github issue Unidata#1342.
@CLAassistant
Copy link

CLAassistant commented Oct 22, 2020

CLA assistant check
All committers have signed the CLA.

@lesserwhirls
Copy link
Collaborator

For some reason we have not been getting update from travis-ci, but the tests passed. I've also ran your PR against our full test suite and everything looks good. As I said over at Unidata/netcdf-java#533, your work on finding and fixing this bug is greatly appreciated!

@lesserwhirls lesserwhirls merged commit 27d58e5 into Unidata:master Oct 23, 2020
@lesserwhirls lesserwhirls linked an issue Oct 23, 2020 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EOFException on NCDump data
3 participants