<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/tests/nonregression, branch v2.2.0</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=v2.2.0</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=v2.2.0'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2017-08-09T09:34:08Z</updated>
<entry>
<title>Partial revert BPC related check of #975 (#979)</title>
<updated>2017-08-09T09:34:08Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-09T09:34:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=ac375ac9f5b4ae47501b60795e905e3d25dd00f8'/>
<id>urn:sha1:ac375ac9f5b4ae47501b60795e905e3d25dd00f8</id>
<content type='text'>
PR #975 introduced a check that rejects images that have different bit depth/sign
per compoment in SIZ marker if the JP2 IHDR box has BPC != 255
This didn't work properly if decoding a .j2k file since the new bit added in
opj_cp_t wasn't initialized to the right value.
For clarity, tThis new bit has also been renamed to allow_different_bit_depth_sign

But looking closer at the code, it seems we were already tolerant to inconsistencies.
For example we parsed a JP2 BPCC box even if BPC != 255 (just a warning is emitted)
So failing hard in opj_j2k_read_siz() wouldn't be very inconsistent, and that
alone cannot protect against other issues, so just emit a warning if BPC != 255
and the SIZ marker contains different bit depth/sign per component.

Note: we could also check that the content of JP2 BPCC box is consistant with the one
of the SIZ marker.
</content>
</entry>
<entry>
<title>Avoids undefined shift behaviour in m_dc_level_shift computation</title>
<updated>2017-07-27T16:10:03Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-26T21:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=d6fa30099797c68c6a67decf58571dd59dbf734b'/>
<id>urn:sha1:d6fa30099797c68c6a67decf58571dd59dbf734b</id>
<content type='text'>
Fixes warning found on clusterfuzz-testcase-minimized-5146316340461568
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2495

Credit to OSS Fuzz
</content>
</entry>
<entry>
<title>Encoder: fix packet writing of empty sub-bands (#891, #892)</title>
<updated>2017-06-12T16:37:50Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-06-12T10:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=73d1510d473b7dcfccfdee57e0e511e6791d5091'/>
<id>urn:sha1:73d1510d473b7dcfccfdee57e0e511e6791d5091</id>
<content type='text'>
There are situations where, given a tile size, at a resolution level,
there are sub-bands with x0==x1 or y0==y1, that consequently don't have any
valid codeblocks, but the other sub-bands may be non-empty.
Given that we recycle the memory from one tile to another one, those
ghost codeblocks might be non-0 and thus candidate for packet inclusion.
</content>
</entry>
<entry>
<title>T1: fix BYPASS/LAZY, TERMALL/RESTART and PTERM/ERTERM encoding modes. (#674)</title>
<updated>2017-06-09T08:49:03Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-06-09T08:47:13Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=81c5311758a0ae1f1aea349a6ee0bca2a238fa79'/>
<id>urn:sha1:81c5311758a0ae1f1aea349a6ee0bca2a238fa79</id>
<content type='text'>
There were a number of defects regarding when and how the termination of
passes had to done and the computation of their rate.
</content>
</entry>
<entry>
<title>Tests: test opj_compress in VSC mode (related to #172)</title>
<updated>2017-05-23T12:31:39Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-05-23T11:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=2d2c368b19ee59cba7470c94bcc2c06ca6db1d80'/>
<id>urn:sha1:2d2c368b19ee59cba7470c94bcc2c06ca6db1d80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix PNM file reading (#847)</title>
<updated>2016-09-21T22:30:34Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-21T22:30:34Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=fac916f72a162483a4d6d804fd070fdf32f402ed'/>
<id>urn:sha1:fac916f72a162483a4d6d804fd070fdf32f402ed</id>
<content type='text'>
Malformed PNM file could cause a crash in opj_compress.
Checks were added to prevent this.

Fixes #843
Updates #440</content>
</entry>
<entry>
<title>Add test for issue 820 (#829)</title>
<updated>2016-09-11T17:47:32Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-11T17:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=805972f4c85fd4b34e08e499c12c68334706df47'/>
<id>urn:sha1:805972f4c85fd4b34e08e499c12c68334706df47</id>
<content type='text'>
Update uclouvain/openjpeg#820</content>
</entry>
<entry>
<title>Add test for issue 826 (#827)</title>
<updated>2016-09-08T21:56:06Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-08T21:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=45ed017b1b9cfac6578d40a2ccc33640c2a94f78'/>
<id>urn:sha1:45ed017b1b9cfac6578d40a2ccc33640c2a94f78</id>
<content type='text'>
Update uclouvain/openjpeg#826

Also correct names for data of issue uclouvain/openjpeg#823</content>
</entry>
<entry>
<title>Add sanity check for tile coordinates (#823)</title>
<updated>2016-09-07T22:24:15Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-07T22:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=e078172b1c3f98d2219c37076b238fb759c751ea'/>
<id>urn:sha1:e078172b1c3f98d2219c37076b238fb759c751ea</id>
<content type='text'>
Coordinates are casted from OPJ_UINT32 to OPJ_INT32
Add sanity check for negative values and upper bound becoming lower
than lower bound.
See also
https://pdfium.googlesource.com/pdfium/+/b6befb2ed2485a3805cddea86dc7574510178ea9</content>
</entry>
<entry>
<title>Add test for PR 818 (#822)</title>
<updated>2016-09-06T22:00:21Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-06T22:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=acfb307df43a811cc56c035d0dc651dac8c9e7de'/>
<id>urn:sha1:acfb307df43a811cc56c035d0dc651dac8c9e7de</id>
<content type='text'>
update uclouvain/openjpeg#818</content>
</entry>
</feed>
