2016-07-06 00:13:18 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en" lang = "en" >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< meta name = "keywords" content = "OpenJPEG, current, changes, changelog" / >
< meta name = "description" content = "Log of changes in the package" / >
< link rel = "stylesheet" type = "text/css" href = "../../../css/common.css" / >
< link rel = "stylesheet" type = "text/css" href = "../../../css/changelog.css" / >
< title >
OpenJPEG current: changelog
< / title >
< / head >
< body >
< table cellpadding = '0' cellspacing = '0' > < tr > < td align = 'center' > < h1 class = 'tool' > < a title = 'Home: ABI tracker for OpenJPEG' href = '../../../timeline/openjpeg/index.html' class = 'tool' > ABI< br / > Tracker< / a > < / h1 > < / td > < td width = '30px;' > < / td > < td > < h1 > (OpenJPEG)< / h1 > < / td > < / tr > < / table > < hr / >
< br / >
< br / >
< h1 > Changelog from Git< / h1 > < br / > < br / >
< div class = 'changelog' >
2019-04-02 11:36:25 +02:00
< pre class = 'wrap' > commit 8196ab531e79602fe3c947d09d3240c25c358731
Author: Antonin Descampe < info@openjpeg.org>
Date: 2019-04-02 11:00:58 +0200
Update BUILD version for release 2.3.1
commit 69a7a312dccebc8b5f28f8a5e4a703cb8d447d44
2019-03-29 12:39:37 +01:00
Merge: d6b8aed 5151426
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2019-03-29 12:25:39 +0100
Merge pull request #1188 from rouault/fix_abi_check
abi-check.sh: fix broken download URL
commit 5151426d6e6f7f0e1ae6f050aaa7cec6bc4ffd08
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2019-03-29 11:53:23 +0100
abi-check.sh: fix broken download URL
commit d6b8aed5612e6be6d3a4053867fbd2ae0cb7c8af
2019-03-29 12:08:47 +01:00
Merge: 25b815d a1d32a5
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2019-03-29 11:52:38 +0100
Merge pull request #1187 from rouault/fix_ubsan_in_opj_t1_encode_cblks
opj_t1_encode_cblks: fix UBSAN signed integer overflow
commit a1d32a596a94280178c44a55d7e7f1acd992ed5d
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2019-03-29 11:17:39 +0100
opj_t1_encode_cblks: fix UBSAN signed integer overflow
Fixes #1053 / CVE-2018-5727
Note: I don't consider this issue to be a security vulnerability, in
practice.
At least with gcc or clang compilers on x86_64 which generate the same
assembly code with or without that fix.
commit 25b815dc460dbf9def7e6b822c8998727094f85a
2019-03-29 10:58:43 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2019-03-29 10:44:35 +0100
Revert "[JPWL] tgatoimage(): avoid excessive memory allocation attempt,"
This reverts commit 05be3084460e46282ee63f04c72c451f3271fd28.
This commit doesn't compile due to missing OPJ_UINT64 type
commit e1740e7ce79d0a1676db4da0f4189b64e85f52cb
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2019-03-29 10:40:58 +0100
Revert "[MJ2] Avoid index out of bounds access to pi-> include[]"
This reverts commit c277159986c80142180fbe5efb256bbf3bdf3edc.
The commit didn't compile. include_size is not defined in openmj2
commit 51f097e6d5754ddae93e716276fe8176b44ec548
2018-12-21 16:55:14 +01:00
Merge: e7640f5 8ee3352
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-12-21 16:41:00 +0100
Merge pull request #1172 from hlef/master
convertbmp: detect invalid file dimensions early (CVE-2018-6616)
commit 8ee335227bbcaf1614124046aa25e53d67b11ec3
Author: Hugo Lefeuvre < hle@debian.org>
Date: 2018-12-14 04:58:40 +0100
convertbmp: detect invalid file dimensions early
width/length dimensions read from bmp headers are not necessarily
valid. For instance they may have been maliciously set to very large
values with the intention to cause DoS (large memory allocation, stack
overflow). In these cases we want to detect the invalid size as early
as possible.
This commit introduces a counter which verifies that the number of
written bytes corresponds to the advertized width/length.
Fixes #1059 (CVE-2018-6616).
commit e7640f58f122d1228f3d750864543ad4703e18fc
2018-12-07 21:40:18 +01:00
Merge: e0f5212 05be308
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-12-07 21:27:38 +0100
Merge pull request #1168 from Young-X/fix_dev
Fix multiple potential vulnerabilities and bugs
commit 05be3084460e46282ee63f04c72c451f3271fd28
Author: Young Xiao < YangX92@hotmail.com>
Date: 2018-11-28 14:44:06 +0800
[JPWL] tgatoimage(): avoid excessive memory allocation attempt,
and fixes unaligned load
Signed-off-by: Young Xiao < YangX92@hotmail.com>
commit bd88611ed9ad7144ec4f3de54790cd848175891b
Author: Young_X < YangX92@hotmail.com>
Date: 2018-11-23 17:15:05 +0800
[JP3D] To avoid divisions by zero / undefined behaviour on shift (CVE-2018-14423
Signed-off-by: Young_X < YangX92@hotmail.com>
commit ce9583d1d7627e007a34a31ae4e22a00d78bd153
Author: Young_X < YangX92@hotmail.com>
Date: 2018-11-23 17:12:06 +0800
[JPWL] opj_compress: reorder checks related to code block dimensions to avoid potential int overflow
Signed-off-by: Young_X < YangX92@hotmail.com>
commit c58df149900df862806d0e892859b41115875845
Author: Young_X < YangX92@hotmail.com>
Date: 2018-11-23 16:24:19 +0800
[OPENJP2] change the way to compute *p_tx0, *p_tx1, *p_ty0, *p_ty1 in function
opj_get_encoding_parameters
Signed-off-by: Young_X < YangX92@hotmail.com>
commit c277159986c80142180fbe5efb256bbf3bdf3edc
Author: Young_X < YangX92@hotmail.com>
Date: 2018-11-23 16:12:53 +0800
[MJ2] Avoid index out of bounds access to pi-> include[]
Signed-off-by: Young_X < YangX92@hotmail.com>
commit e0f5212888c0c1abc5e060a75a3a4a5ff99afd1a
2018-11-28 00:18:48 +01:00
Merge: 92023cd 2e5ab1d
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-11-28 00:04:30 +0100
Merge pull request #1170 from rouault/fix_color_apply_icc_profile
color_apply_icc_profile: avoid potential heap buffer overflow
commit 2e5ab1d9987831c981ff05862e8ccf1381ed58ea
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-11-27 23:31:30 +0100
color_apply_icc_profile: avoid potential heap buffer overflow
Derived from a patch by Thuan Pham
2018-12-07 21:40:18 +01:00
commit 46822d0eddc3324b2a056bc60ffa997027bebd66
Author: Young_X < YangX92@hotmail.com>
Date: 2018-11-23 15:58:23 +0800
[JPWL] imagetotga(): fix read heap buffer overflow if numcomps < 3 (#987)
Signed-off-by: Young_X < YangX92@hotmail.com>
commit 619e1b086eaa21ebd9b23eb67deee543b07bf06f
Author: Young_X < YangX92@hotmail.com>
Date: 2018-11-23 15:02:26 +0800
[JPWL] fix CVE-2018-16375
Signed-off-by: Young_X < YangX92@hotmail.com>
commit c5bd64ea146162967c29bd2af0cbb845ba3eaaaf
Author: Young_X < YangX92@hotmail.com>
Date: 2018-11-23 14:47:36 +0800
[MJ2] To avoid divisions by zero / undefined behaviour on shift
Signed-off-by: Young_X < YangX92@hotmail.com>
2018-11-28 00:18:48 +01:00
commit 92023cd6c377e0384a7725949b25655d4d94dced
2018-11-16 10:07:13 +01:00
Merge: c196b23 cab352e
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-11-16 09:42:19 +0100
Merge pull request #1160 from hlef/master
jp3d/jpwl convert: fix write stack buffer overflow
commit c196b23b90321b5c7e3238294607a2e8626c503f
2018-11-16 09:55:52 +01:00
Author: ichlubna < 43234438+ichlubna@users.noreply.github.com>
Date: 2018-11-16 09:40:31 +0100
openjp3d: Int overflow fixed (#1159)
When compressing a lot of slices (starting from 44 FullHD slices with 3 8bit components in our experiments) the rate values are high enough to cause an int overflow that leads to negative lengths and wrong results. The cast happens too late.
2018-11-16 10:07:13 +01:00
commit cab352e249ed3372dd9355c85e837613fff98fa2
Author: Hugo Lefeuvre < hle@debian.org>
Date: 2018-11-07 18:48:29 +0100
jp2: convert: fix null pointer dereference
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).
commit 0bc90e4062a5f9258c91eca018c019b179066c62
Author: Hugo Lefeuvre < hle@debian.org>
Date: 2018-10-22 16:59:41 +0200
jp3d/jpwl convert: fix write stack buffer overflow
Missing buffer length formatter in fscanf call might lead to write
stack buffer overflow.
fixes #1044 (CVE-2017-17480)
2018-11-16 09:55:52 +01:00
commit 948332e6ed17565100d1df5f6fdbf66865218e36
2018-10-31 21:11:21 +01:00
Author: Stefan Weil < sw@weilnetz.de>
Date: 2018-10-31 20:44:30 +0100
Fix some potential overflow issues (#1161)
* Fix some potential overflow issues
Put sizeof to the beginning of the multiplication to enforce that
size_t instead of smaller integer types is used for the calculation.
This fixes warnings from LGTM:
Multiplication result may overflow 'unsigned int'
before it is converted to 'unsigned long'.
It also allows removing some type casts.
Signed-off-by: Stefan Weil < sw@weilnetz.de>
* Fix code indentation
Signed-off-by: Stefan Weil < sw@weilnetz.de>
commit e52909f4c7896c5efff3340d707c12d0df55d3f9
2018-10-31 20:55:15 +01:00
Merge: cd900d9 943db0f
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-10-31 20:41:52 +0100
Merge pull request #1163 from nforro/memory-and-resource-leaks
Fix several memory and resource leaks
commit 943db0f1c28ca6a7df6d18483f97166a03be9bf7
Author: Nikola Forró < nforro@redhat.com>
Date: 2018-10-31 13:39:05 +0100
Fix several memory and resource leaks
Signed-off-by: Nikola Forró < nforro@redhat.com>
commit cd900d96618ab77e79812db654731dd6b5fc7bd8
2018-10-18 12:24:55 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-10-18 11:45:45 +0200
opj_thread_pool_setup(): fix infinite waiting if a thread creation failed
commit 0e6a5553cfef21b764d289585af2c6934a95456b
2018-09-23 00:10:34 +02:00
Merge: 8fc09e5 ca16fe5
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 23:54:12 +0200
Merge pull request #1148 from hlef/master
CVE-2018-5785: fix issues with zero bitmasks
commit 8fc09e50e557fa6af4c099b9c6d36bb1071ee1ed
2018-09-23 00:01:46 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-09-22 23:47:56 +0200
opj_jp2_apply_pclr(): remove useless assert that can trigger on some files (fixes #1125)
commit aaf48ee6bae91032f025f9ac11592c4085a0d96b
2018-09-22 23:35:07 +02:00
Merge: ee827ad cc38247
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-09-22 23:12:50 +0200
Merge branch 'pr1095'
commit cc3824767bde397fedb8a1ae4786a222ba860c8d
Author: Karol Babioch < kbabioch@suse.de>
Date: 2018-03-02 14:40:58 +0100
opj_mj2_extract: Check provided output prefix for length
This uses snprintf() with correct buffer length instead of sprintf(), which
prevents a buffer overflow when providing a long output prefix. Furthermore
the program exits with an error when the provided output prefix is too long.
Fixes #1088.
commit ee827ad3f32469d4854b2da71c9703a2af359f9f
2018-09-22 23:21:20 +02:00
Merge: 5d94bcd 1eb9a57
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-09-22 23:05:54 +0200
Merge branch 'pr1107'
commit 1eb9a57ac1216209a4d9adf87bc47ba19810d3b3
Author: szukw000 < szukw000@arcor.de>
Date: 2018-03-13 18:11:54 +0100
opj_mj2_extract: Avoid segfault for long filenames
commit 5d94bcd89c6e281614955c56cbfebb11b866a9dd
Merge: b54c06f 0fa7ebe
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 22:59:36 +0200
Merge pull request #1136 from reverson/master
Cast on uint ceildiv
commit b54c06fb350d318c8e74755710b3480eae3b9911
Merge: 17bbb0e 4aaf52e
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 22:59:17 +0200
Merge pull request #1119 from stweil/ssize_t
Use local type declaration for POSIX standard type only for MS compiler
commit 17bbb0e23ff03bb722914841a9b962b21fe7a310
Merge: ccc4441 3d6ffaf
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 22:55:33 +0200
Merge pull request #1128 from stweil/typos
Fix some typos in code comments and documentation
commit ccc4441aeb7bf4928e55bd543fab8de662f6d5e7
Merge: c6ee006 24fd3ce
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 22:54:51 +0200
Merge pull request #1140 from bukatlib/fix_relpath
Relative path to header files is hardcoded in OpenJPEGConfig.cmake.in file
commit c6ee006250b093f443e226288c6c866c5ebe12f5
Merge: 2d28610 98363e2
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 22:47:27 +0200
Merge pull request #1141 from szukw000/changes-in-pnmtoimage
Changes in pnmtoimage if image data are missing
commit 2d2861036cfb68560e0cf21340760781ea78595d
2018-09-22 23:09:01 +02:00
Merge: 1b9a81d 31a03b3
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 22:28:04 +0200
Merge pull request #1143 from stweil/format
openjp2/jp2: Fix two format strings
commit 1b9a81dff7c22ed0cb22bf1033e6dfee1292da31
2018-09-22 22:46:04 +02:00
Merge: 9d1a9dc c28ed52
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-09-22 22:27:14 +0200
Merge pull request #1149 from rouault/fix_knownfailures
Update knownfailures- files given current configurations
commit c28ed521633c074f1e4891208028fe97f7602a14
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-09-22 21:56:50 +0200
Update knownfailures- files given current configurations
2018-09-23 00:10:34 +02:00
commit ca16fe55014c57090dd97369256c7657aeb25975
Author: Hugo Lefeuvre < hle@debian.org>
Date: 2018-09-22 14:33:19 -0400
convertbmp: fix issues with zero bitmasks
In the case where a BMP file declares compression 3 (BI_BITFIELDS)
with header size < = 56, all bitmask values keep their initialization
value 0. This may lead to various undefined behavior later e.g. when
doing 1 < < (l_comp-> prec - 1).
This issue does not affect files with bit count 16 because of a check
added in 16240e2 which sets default values to the color masks if they
are all 0.
This commit adds similar checks for the 32 bit case.
Also, if a BMP file declares compression 3 with header size > = 56 and
intentional 0 bitmasks, the same issue will be triggered in both the
16 and 32 bit count case.
This commit adds checks to bmp_read_info_header() rejecting BMP files
with "intentional" 0 bitmasks. These checks might be removed in the
future when proper handling of zero bitmasks will be available in
openjpeg2.
fixes #1057 (CVE-2018-5785)
2018-09-22 23:09:01 +02:00
commit 31a03b390a77bfbe4b0f140121d1296acb611f76
Author: Stefan Weil < sw@weilnetz.de>
Date: 2018-09-05 21:51:30 +0200
openjp2/jp2: Fix two format strings
Compiler warnings:
src/lib/openjp2/jp2.c:1008:35: warning:
too many arguments for format [-Wformat-extra-args]
src/lib/openjp2/j2k.c:1928:73: warning:
format ‘ %d’ expects argument of type ‘ int’ , but argument 4 has type ‘ OPJ_OFF_T {aka long int}’ [-Wformat=]
Signed-off-by: Stefan Weil < sw@weilnetz.de>
2018-09-22 23:21:20 +02:00
commit 3d6ffaf3f3463b62830f88f50a8c1b510f555eb5
Author: Stefan Weil < sw@weilnetz.de>
Date: 2018-07-30 21:04:28 +0200
Fix some typos in code comments and documentation
All typos were found by Codespell.
Signed-off-by: Stefan Weil < sw@weilnetz.de>
commit 98363e244e027c731f73ee8239d3c19451a9153b
Author: szukw000 < szukw000@arcor.de>
Date: 2018-08-31 16:24:41 +0200
Changes in pnmtoimage if image data are missing
commit 24fd3ce777a64b8b315cfe1ee642ec7b1cc6aa97
Author: Libor Bukata < libor.bukata@oracle.com>
Date: 2018-08-31 12:57:40 +0200
The change makes a relative path to header files
always correct regardless of the number of sub-
directories in OPENJPEG_INSTALL_PACKAGE_DIR variable.
commit 0fa7ebe2540990f590c2247b3505ac1dc84b6eec
Author: Robert Everson < robert@reverson.net>
Date: 2018-08-27 15:28:53 -0700
Cast on uint ceildiv
2018-09-22 22:46:04 +02:00
commit 9d1a9dc20dd5155bab977a4f53d05c4bbd66533a
2018-08-31 11:27:22 +02:00
Merge: d2205ba 56f23b2
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-08-11 23:35:35 +0200
Merge pull request #1133 from robe2/robe2-pkgconfig-instructions
Add -DBUILD_PKGCONFIG_FILES to install instructions
commit 56f23b29a075467fc2377ba086c0263a3eb70fe6
Author: Regina Obe < lr@pcorp.us>
Date: 2018-08-11 16:59:30 -0400
Add -DBUILD_PKGCONFIG_FILES to install instructions
Building under msys/mingw doesn't automatically install the pkg config files needed to build GDAL and other libraries
commit d2205ba2ee78faeea659263383446c4472b1f9df
2018-06-20 16:40:29 +02:00
Merge: fd205f4 4170681
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-06-20 16:26:24 +0200
Merge pull request #1121 from rouault/fix_tnsot_zero
Fix regression in reading files with TNsot == 0 (refs #1120)
commit 4170681661126bc9c1348a0183633dc2f4fc8b05
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-06-20 15:06:16 +0200
Add test cases for https://github.com/uclouvain/openjpeg/issues/1120 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2785
commit 0c913b0aba409148b51ca43d45c50ae595449723
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-06-20 14:54:09 +0200
Avoid assertion when running opj_j2k_merge_ppt() several time due to e6674f7ed66abdb32a0be5944f618722b6a7b5d5 revert. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2785
commit 832dfd18665da08745748bde2d2563f00c7cd9e7
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-06-20 14:38:41 +0200
Revert "Avoid assertion in opj_j2k_merge_ppt() in case premature EOC is encountered in opj_j2k_read_tile_header(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2785. Credit to OSS Fuzz" (fixes #1120)
This reverts commit 9906fbf737692486cebabe98169988d818e2e66a.
which broke decoding of images where TNsot == 0
2018-09-22 23:21:20 +02:00
commit 4aaf52ec8d8ec7b94c73f77f9c0029a3d3cabbf9
Author: Stefan Weil < sw@weilnetz.de>
Date: 2018-06-18 14:06:25 +0200
Use local type declaration for POSIX standard type only for MS compiler
ssize_t is a POSIX type which is declared in POSIX include files.
Mingw-w64 provides it also for Windows.
Use the local declaration only with MS compilers.
Signed-off-by: Stefan Weil < sw@weilnetz.de>
2018-06-20 16:40:29 +02:00
commit fd205f457b157e925e2a6eb03aba397b45b0ed4e
2018-06-16 16:30:03 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-06-16 16:17:58 +0200
opj_compress: try to make help message of -c switch clearer (fixes #1117)
commit 2c7eb4fed9cbed43ae402840f6706998ce2dd1c4
2018-03-12 14:38:12 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-03-12 14:24:20 +0100
opj_compress: fix help message regarding default precinct size
commit a59512e0990c5923de77a542a1386edee32acd47
2018-03-05 00:07:10 +01:00
Merge: 3910be8 8ad94f6
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-03-04 23:54:09 +0100
Merge pull request #1104 from rouault/macos_fix
Fix Mac builds
commit 8ad94f689ecabc5e9058874af42306793d5b93e9
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-03-04 23:27:44 +0100
Fix Mac builds
commit 3910be8a68d21df5f23e764c593058ba35557051
2018-03-04 23:35:46 +01:00
Merge: e98d0a2 cfc5395
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-03-04 23:19:59 +0100
Merge pull request #1062 from radarhere/master
Fixed typos
commit e98d0a20f049c59ba31a19de2fccfaabdcbce502
Merge: 31a347a d4d7827
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-03-04 23:16:04 +0100
Merge pull request #1094 from kbabioch/fix/missing-format-string-parameter
mj2: Add missing variable to format string in fprintf() invocation in meta_out.c
commit 31a347a9a04209933c63b180c9ff04bdf8a427e5
Merge: b02e0d9 db6841a
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-03-04 23:13:45 +0100
Merge pull request #1096 from kbabioch/fix/opj_mj2_extract-help
opj_mj2_extract: Rename output_location to output_prefix
commit b02e0d9c4e746faf7448cb06f0487402dff66083
2018-03-04 23:24:01 +01:00
Merge: 564fbfb e351c22
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-03-04 23:10:48 +0100
Merge pull request #1101 from kbabioch/fix/jp3d-sprintf-overflow
jp3d: Replace sprintf() by snprintf() in volumetobin()
commit e351c22ee8c4d8cef0f212831a00447bc0400601
Author: Karol Babioch < karol@babioch.de>
Date: 2018-03-03 10:10:32 +0100
jp3d: Replace sprintf() by snprintf() in volumetobin()
This replaces the unsafe sprintf() invocation by the safer snprintf()
one, with the correct buffer size to prevent buffer overflows.
This fixes #1085.
2018-03-04 23:35:46 +01:00
commit db6841a099645f5063dc8c2f804b0724a9ea557b
Author: Karol Babioch < kbabioch@suse.de>
Date: 2018-03-02 15:19:19 +0100
opj_mj2_extract: Rename output_location to output_prefix
This renames the argument in the help output, as the latter better describes
the the purpose of this argument.
commit d4d78272ebe3b65a22e5c98841d451f2078625fa
Author: Karol Babioch < kbabioch@suse.de>
Date: 2018-03-02 14:03:03 +0100
mj2: Add missing variable to format string in fprintf() invocation in meta_out.c
This adds the appropriate variables to the invocation of fprintf(). They were
specified in the format string, but were missing in the actual call. This
fixes #1074 and #1075.
2018-03-04 23:24:01 +01:00
commit 564fbfb67830e2eb234bc16b3db8fecf54261f95
2018-02-25 20:11:55 +01:00
Merge: bce2bd7 b49fa93
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-02-25 19:59:18 +0100
Merge pull request #1090 from stweil/utf8
Convert files to UTF-8 encoding
commit bce2bd71c06e3550e57442dfa715fcce5351bc7a
2018-02-25 19:33:23 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-02-25 19:20:38 +0100
.travis.yml: temporarily disable OPJ_CI_ASAN=1 (refs #1091)
2018-02-25 20:11:55 +01:00
commit b49fa93aa759cb2e2e22e174ef793470eb02a148
Author: Stefan Weil < sw@weilnetz.de>
Date: 2018-02-24 14:55:33 +0100
openjp3d: Convert ISO-8859 to UTF-8
Signed-off-by: Stefan Weil < sw@weilnetz.de>
commit 244f52483df75e6507d676b25d31e6e7bf08bdf5
Author: Stefan Weil < sw@weilnetz.de>
Date: 2018-02-24 14:51:28 +0100
jp3d: Convert ISO-8859 to UTF-8
Signed-off-by: Stefan Weil < sw@weilnetz.de>
2018-02-25 19:33:23 +01:00
commit 90b1bffa7e745c754afb56dc89ccb70f8aeeadcf
2018-02-25 18:35:52 +01:00
Merge: 06f7d41 24d08ff
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-02-25 18:21:23 +0100
Merge pull request #1080 from setharnold/patch-1
fix unchecked integer multiplication overflow
commit 06f7d412435ddb62f8e9935af7e306783bc4b75b
2018-02-18 14:53:00 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-02-18 14:38:16 +0100
bench_dwt: fix wrong index in iteration (issue found by Fethi Migaou)
2018-02-25 18:35:52 +01:00
commit 24d08ff94ad8b0f51534e46f87cf5a2f2f85d22a
Author: setharnold < seth.arnold@gmail.com>
Date: 2018-02-14 17:46:38 -0800
fix unchecked integer multiplication overflow
Hello, this fixes an unchecked integer multiplication overflow. Thanks.
2018-02-18 14:53:00 +01:00
commit da5e897232ef824daf9a492e746ed22cf2a43f18
2018-02-11 14:35:33 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-02-11 13:31:04 +0100
Avoid out-of-bounds write overflow due to uint32 overflow computation on images with huge dimensions. Credit to Google Autofuzz project for providing test case
2018-03-04 23:35:46 +01:00
commit cfc539512a1b138c2feedda9fd2f57d36cdaa0db
Author: Andrew Murray < radarhere@users.noreply.github.com>
Date: 2018-02-09 21:02:25 +1100
Fixed typos
2018-02-11 14:35:33 +01:00
commit d96d2b9a2524f41a8e024462f94417c09747ba99
2018-02-05 17:49:26 +01:00
Merge: 07d526e 6941bc6
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-02-05 17:31:49 +0100
Merge pull request #1055 from ideasman42/patch-1
Note that seek uses SEEK_SET behavior.
commit 6941bc67cf0b152adde1a46746037b7e96e947b2
Author: Campbell Barton < ideasman42@gmail.com>
Date: 2018-01-18 15:16:03 +1100
Note that seek uses SEEK_SET behavior.
commit 07d526e4cb93b6d2e1a52cf49e3d011d3d4caa11
2018-01-08 10:22:52 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-01-08 09:38:44 +0100
opj_t2_encode_packet(): disable setting empty packet header bit to 1 when there is an empty packet
This effectively reverts commit 2609fb8077125b5b31f1bcc2f98c12ff1e6572d7
since it has been reported that
such packets cause decoding issues with cinema J2K hardware
decoders: https://groups.google.com/forum/#!topic/openjpeg/M7M_fLX_Bco
commit bdcead70d5900cf5b90774b218183334ca898723
2018-01-07 18:19:22 +01:00
Merge: e4c3595 4841292
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-01-07 17:49:37 +0100
Merge pull request #1047 from stweil/coverity
Fix resource leak (CID 179466)
commit e4c3595077b2a38579c32f2c63bb01d5213b64d2
Merge: d241298 6e6f835
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2018-01-07 17:49:08 +0100
Merge pull request #1050 from szukw000/changes-for-obsolete-doxygen-tags
Some Doxygen tags are removed
commit d241298fdcd95932346da993d5fbe20210dadd2d
2018-01-07 18:07:11 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2018-01-07 17:45:53 +0100
Add known failure for Windows VC10 i386 target (refs #1043)
2018-01-07 18:19:22 +01:00
commit 6e6f8354a0614a6af61568a73aea573b8e76f894
Author: szukw000 < szukw000@arcor.de>
Date: 2018-01-07 17:11:09 +0100
Some Doxygen tags are removed
commit 4841292b5df8f5ed3c92f1760769428ad7500b7a
Author: Stefan Weil < sw@weilnetz.de>
Date: 2017-12-15 16:49:33 +0100
Fix resource leak (CID 179466)
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 < sw@weilnetz.de>
2018-01-07 18:07:11 +01:00
commit 9d0d1a0128c7a9324c9a935b2ded01deb4d660d4
2017-11-30 15:58:37 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-11-30 15:39:45 +0100
Add known failure for i386 target (refs #1043)
commit 98cfdd31340509895f3e2a36f667f66bb3cf1ff2
2017-11-30 15:03:41 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-11-30 14:48:34 +0100
opj_j2k_read_cod: remove check for 'No more than one COD marker per tile' (fixes #1043)
This check was added per https://github.com/uclouvain/openjpeg/commit/daed8cc9195555e101ab708a501af2dfe6d5e001
to fix https://github.com/uclouvain/openjpeg/issues/476 , but it does not seem
to be necessary with latest master (issue476.jp2 doesn't cause memory issues),
and breaks reading legit files.
commit 936910cf7a4d85e341582746126d105a8a044f30
2017-11-30 14:41:55 +01:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-11-30 14:26:17 +0100
Fix typo in comments
commit 370d024d108ffe2d5ce9b52f6b7fae5261c4871d
2017-11-14 12:43:03 +01:00
Merge: d9f8f7b 157a3d8
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2017-11-14 12:28:44 +0100
Merge pull request #1042 from radarhere/cmake
Changed cmake version test to allow for cmake 2.8.11.x
commit 157a3d840884abe5020b1a8b94576a7447063385
Author: Andrew Murray < radarhere@users.noreply.github.com>
Date: 2017-11-14 21:45:09 +1100
Changed cmake version test to allow for cmake 2.8.11.x
commit d9f8f7ba9a51732eda9017cea6493cc86a62c7ef
2017-10-20 22:20:38 +02:00
Merge: 53d2655 10d22ec
Author: Even Rouault < even.rouault@mines-paris.org>
Date: 2017-10-20 21:59:14 +0200
Merge pull request #1037 from gfiumara/master
Add missing fclose() statement in error condition.
commit 10d22ec26d864e93ad92b4570f044258c6c5bdf9
Author: Gregory Fiumara < gregory.fiumara@nist.gov>
Date: 2017-10-20 15:31:45 -0400
Add missing fclose() statement in error condition.
commit 53d265576ae0cea480f22f3b08f1c05c8af40d4d
2017-10-14 22:55:50 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-10-14 22:42:12 +0200
CMakeLists.txt: turn BUILD_PKGCONFIG_FILES ON by default on Windows if compiler is GCC
commit be6ea90e13fe81a922d831b589c54554282e5545
2017-10-12 01:43:32 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-10-12 01:16:23 +0200
opj_j2k_set_threads(): add sanity check to error out if called after opj_read_header()
commit b8bf9bf78995526bbf0dc0536914661a07f9d2f5
2017-10-12 01:20:55 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-10-12 01:05:04 +0200
Improve doc of opj_codec_set_threads()
commit 66297f07a43d2770a97c8456d20202f3d051d980
2017-10-09 11:53:16 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-10-09 11:40:43 +0200
Unix build: fix regression of 2.3.0 where a shared-only or static-only build lacks the installation target for the library (#1019, fixes regression introduced by 3dfc6ca2bcf06fd1adb6b6b4cecc6c092f08ba0b)
commit e8b6b54d1f7a2c3d501b9afebe9019ad14f4053a
2017-10-06 19:39:47 +02:00
Author: Even Rouault < even.rouault@spatialys.com>
Date: 2017-10-06 19:25:07 +0200
opj_decompress -h: document -threads ALL_CPUS
commit acd915080e7a63d1892171533ec245e629c88116
2017-10-05 04:31:26 +02:00
Author: Antonin Descampe < antonin@gmail.com>
Date: 2017-10-04 23:17:04 -0300
Finalise ABI check update for v2.3.0
commit d322cc876f976a88328c00c148e5a5536f5c1b56
2017-10-05 04:12:55 +02:00
Author: Antonin Descampe < antonin@gmail.com>
Date: 2017-10-04 22:59:08 -0300
Update ABI check for v2.3.0
commit 081de4b15f54cb4482035b7bf5e3fb443e4bc84b
Author: Antonin Descampe < antonin@descampe.net>
Date: 2017-10-04 19:23:14 -0300
Update CHANGELOG.md
commit 3916fa2e2a286ea795cdb6df7cebed6ac05be983
Author: Antonin Descampe < antonin@descampe.net>
Date: 2017-10-03 17:48:44 -0300
Update NEWS.md
commit ab84ad39d71481555efdd2dd7c56b344b7b75f0f
Author: Antonin Descampe < antonin@descampe.net>
Date: 2017-10-03 17:48:09 -0300
Update CHANGELOG.md
2016-07-06 00:13:18 +02:00
...< / pre > < / div >
< / body >
< / html >