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

Expected endianness with raw input is not documented leading to SEGFAULT #251

Closed
gcode-importer opened this issue Dec 16, 2013 · 2 comments

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 251

The expected endianness for the raw input format is not documented. 

This may lead to :

1. confusion
2. codeblock data buffer overflow. The of the buffer is not large enough the wavelet
coefficient of the garbled input.

The user will have a hard time to diagnose this issue because lossless compression
works flawlessly while lossy compression causes a segmentation fault.

Reported by jf.pambrun on 2013-12-16 00:42:38

@gcode-importer
Copy link
Author

You should either pick raw or rawl as explained in opj_compress. closing as wontfix

Reported by malaterre on 2013-12-16 07:56:51

  • Status changed: WontFix

@gcode-importer
Copy link
Author

I can't find this explanation in opj_compress on the current trunk. I have lost several
hours looking into this issue thinking it was related to the signed nature of my images.


The documentation is lacking and parameter mistakes will cause segmentation faults
due to a buffer overflow. Is this a normal behavior?

Reported by jf.pambrun on 2013-12-16 14:26:06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants