We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you call readImage with a JP2 file that exists on disk, but is an invalid JP2 file, a crash occurs here https://github.com/openscenegraph/OpenSceneGraph/blame/master/src/osgPlugins/jp2/ReaderWriterJP2.cpp#L239. I noticed the readImage call that reads from a stream has a null check (https://github.com/openscenegraph/OpenSceneGraph/blame/master/src/osgPlugins/jp2/ReaderWriterJP2.cpp#L304) before continuing on, and I was thinking the file version should also contain this check.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you call readImage with a JP2 file that exists on disk, but is an invalid JP2 file, a crash occurs here https://github.com/openscenegraph/OpenSceneGraph/blame/master/src/osgPlugins/jp2/ReaderWriterJP2.cpp#L239. I noticed the readImage call that reads from a stream has a null check (https://github.com/openscenegraph/OpenSceneGraph/blame/master/src/osgPlugins/jp2/ReaderWriterJP2.cpp#L304) before continuing on, and I was thinking the file version should also contain this check.
The text was updated successfully, but these errors were encountered: