<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/src/bin/jp2/convert.c, branch master</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=master</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2021-10-21T12:13:58Z</updated>
<entry>
<title>API: deprecate 'bpp' member in favor of 'prec'</title>
<updated>2021-10-21T12:13:58Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2021-10-21T10:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=0b5d62684fe360e098e3bccaef02ee3e9781cec4'/>
<id>urn:sha1:0b5d62684fe360e098e3bccaef02ee3e9781cec4</id>
<content type='text'>
in opj_image_comp and opj_image_comptparm structures.

bpp was redundant with prec, and almost never set by the library, except
by opj_image_create(). This change should hopefully not impact existing,
working, users of the API, which should already have used prec to get
things working.

Fixes #1379
</content>
</entry>
<entry>
<title>Fix various compiler warnings</title>
<updated>2021-06-07T11:28:26Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2021-06-07T11:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=f0629cb1c4c485d905936413556deb2872ac51e5'/>
<id>urn:sha1:f0629cb1c4c485d905936413556deb2872ac51e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>opj_decompress: add sanity checks to avoid segfault in case of decoding error</title>
<updated>2020-04-01T19:11:36Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2020-04-01T18:58:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=1c54024165fd5db0e6047f28903274eb27d0980f'/>
<id>urn:sha1:1c54024165fd5db0e6047f28903274eb27d0980f</id>
<content type='text'>
Prevent crashes like:
opj_decompress -i 0722_5-1_2019.jp2 -o out.ppm -r 4 -t 0

where 0722_5-1_2019.jp2 is
https://drive.google.com/file/d/1ZxOUZg2-FKjYwa257VFLMpTXRWxEoP0a/view?usp=sharing
</content>
</entry>
<entry>
<title>jp2: convert: fix null pointer dereference</title>
<updated>2018-11-07T17:53:18Z</updated>
<author>
<name>Hugo Lefeuvre</name>
<email>hle@debian.org</email>
</author>
<published>2018-11-07T17:48:29Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=cab352e249ed3372dd9355c85e837613fff98fa2'/>
<id>urn:sha1:cab352e249ed3372dd9355c85e837613fff98fa2</id>
<content type='text'>
Tile components in a JP2 image might have null data pointer by defining a
zero component size (for example using large horizontal or vertical
sampling periods). This null data pointer leads to null image component
data pointer, causing crash when dereferenced without != null check in
imagetopnm.

Add != null check.

This commit addresses #1152 (CVE-2018-18088).
</content>
</entry>
<entry>
<title>Changes in pnmtoimage if image data are missing</title>
<updated>2018-08-31T14:24:41Z</updated>
<author>
<name>szukw000</name>
<email>szukw000@arcor.de</email>
</author>
<published>2018-08-31T14:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=98363e244e027c731f73ee8239d3c19451a9153b'/>
<id>urn:sha1:98363e244e027c731f73ee8239d3c19451a9153b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix resource leak (CID 179466)</title>
<updated>2017-12-15T15:49:33Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2017-12-15T15:49:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=4841292b5df8f5ed3c92f1760769428ad7500b7a'/>
<id>urn:sha1:4841292b5df8f5ed3c92f1760769428ad7500b7a</id>
<content type='text'>
Coverity report:

CID 179466 (#1 of 1): Resource leak (RESOURCE_LEAK)
93. leaked_storage: Variable name going out of scope leaks the storage it points to.

Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>imagetopgx(): improve performance in 8 bit case (relates to broken.jpc test case)</title>
<updated>2017-08-24T12:09:31Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-24T12:09:31Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=5146abc02ebd871aa1e737373cdc7654e8e4b07f'/>
<id>urn:sha1:5146abc02ebd871aa1e737373cdc7654e8e4b07f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgxtoimage(): avoid excessive memory allocation attempt (#999)</title>
<updated>2017-08-19T13:45:54Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-19T13:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=3eed024eb45534f86537404e08d08fa572a40782'/>
<id>urn:sha1:3eed024eb45534f86537404e08d08fa572a40782</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgxtoimage(): fix write stack buffer overflow (#997)</title>
<updated>2017-08-18T11:39:20Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-18T11:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=e5285319229a5d77bf316bb0d3a6cbd3cb8666d9'/>
<id>urn:sha1:e5285319229a5d77bf316bb0d3a6cbd3cb8666d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix -Wconversion warning</title>
<updated>2017-08-17T17:05:29Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-17T17:05:29Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=17ea17f487a777d14bd322ac06c4e6cb9124a226'/>
<id>urn:sha1:17ea17f487a777d14bd322ac06c4e6cb9124a226</id>
<content type='text'>
</content>
</entry>
</feed>
