openjpeg.git
10 years ago[trunk] Remove deprecated functions (not called anywhere in the code base).
Mathieu Malaterre [Mon, 3 Mar 2014 08:17:20 +0000 (08:17 +0000)]
[trunk] Remove deprecated functions (not called anywhere in the code base).
Update issue 268

10 years ago[trunk] Remove unused variables from test
Mathieu Malaterre [Mon, 3 Mar 2014 07:58:59 +0000 (07:58 +0000)]
[trunk] Remove unused variables from test

10 years ago[trunk] Remove some simple warnings about var being set but not used
Mathieu Malaterre [Sun, 2 Mar 2014 10:23:05 +0000 (10:23 +0000)]
[trunk] Remove some simple warnings about var being set but not used

10 years ago[trunk] Remove warning about -2147483648 (aka INT_MIN), causing this decimal constant...
Mathieu Malaterre [Sun, 2 Mar 2014 10:20:57 +0000 (10:20 +0000)]
[trunk] Remove warning about -2147483648 (aka INT_MIN), causing this decimal constant is unsigned only in ISO C90

10 years ago[trunk] Remove simple warnings about comments, missing case in switch statement
Mathieu Malaterre [Sun, 2 Mar 2014 10:16:54 +0000 (10:16 +0000)]
[trunk] Remove simple warnings about comments, missing case in switch statement

10 years ago[trunk] Fix compilation on MSVC compiler
Mathieu Malaterre [Sat, 1 Mar 2014 10:41:46 +0000 (10:41 +0000)]
[trunk] Fix compilation on MSVC compiler

10 years ago[trunk] Partially rework r2506, original patch from issue 171 was totally bogus ...
Mathieu Malaterre [Fri, 28 Feb 2014 17:29:28 +0000 (17:29 +0000)]
[trunk] Partially rework r2506, original patch from issue 171 was totally bogus (untested?) and did break most of the test (eg. p1_04 family)
convert.c duplicate a lot of code, this patch only adresses the PGX codec section of the code.
Update issue 171
Update issue 264

10 years ago[trunk] Make sure to run *-decode-md5 only after *-decode tests. Update md5 since...
Mathieu Malaterre [Fri, 28 Feb 2014 16:04:11 +0000 (16:04 +0000)]
[trunk] Make sure to run *-decode-md5 only after *-decode tests. Update md5 since recent code change.

10 years ago[trunk] Remove easy uint32 <-> int32 conversions
Mathieu Malaterre [Fri, 28 Feb 2014 16:01:07 +0000 (16:01 +0000)]
[trunk] Remove easy uint32 <-> int32 conversions

10 years ago[trunk] Re-import chunk from r2458 that made textGBR.jp2 to fail otherwise
Mathieu Malaterre [Fri, 28 Feb 2014 15:27:30 +0000 (15:27 +0000)]
[trunk] Re-import chunk from r2458 that made textGBR.jp2 to fail otherwise
Update issue 225

10 years ago[trunk] Rework r2458, instead we should reject 451.pdf.SIGSEGV.ce9.3723 since tile...
Mathieu Malaterre [Fri, 28 Feb 2014 15:24:33 +0000 (15:24 +0000)]
[trunk] Rework r2458, instead we should reject 451.pdf.SIGSEGV.ce9.3723 since tile-parts are out of order (as per kakadu behavior).
Update issue 225

10 years ago[trunk] Mark a file as being invalid for opj_dump
Mathieu Malaterre [Fri, 28 Feb 2014 15:14:53 +0000 (15:14 +0000)]
[trunk] Mark a file as being invalid for opj_dump

10 years ago[trunk] Fix JPIP test with updated md5sum
Mathieu Malaterre [Fri, 28 Feb 2014 14:54:37 +0000 (14:54 +0000)]
[trunk] Fix JPIP test with updated md5sum

10 years ago[trunk] Really apply r2460 this time, but fix the original typo in the submitted...
Mathieu Malaterre [Fri, 28 Feb 2014 14:52:58 +0000 (14:52 +0000)]
[trunk] Really apply r2460 this time, but fix the original typo in the submitted patch
Update issue 225

10 years ago[trunk] final round of minor cleanups
Mathieu Malaterre [Fri, 28 Feb 2014 14:38:45 +0000 (14:38 +0000)]
[trunk] final round of minor cleanups

10 years ago[trunk] Remove PNG generation code for now
Mathieu Malaterre [Fri, 28 Feb 2014 14:31:01 +0000 (14:31 +0000)]
[trunk] Remove PNG generation code for now

10 years ago[trunk] Prefer strcpy since it copies trailing 0 directly
Mathieu Malaterre [Fri, 28 Feb 2014 14:23:30 +0000 (14:23 +0000)]
[trunk] Prefer strcpy since it copies trailing 0 directly

10 years ago[trunk] Simplify code to centralize code cleanup
Mathieu Malaterre [Fri, 28 Feb 2014 14:17:30 +0000 (14:17 +0000)]
[trunk] Simplify code to centralize code cleanup

10 years ago[trunk] Some code cleanup add sentinels
Mathieu Malaterre [Fri, 28 Feb 2014 13:59:59 +0000 (13:59 +0000)]
[trunk] Some code cleanup add sentinels

10 years ago[trunk] Remove a simple warning, and use static to detect unused functions. Simplify...
Mathieu Malaterre [Fri, 28 Feb 2014 13:19:03 +0000 (13:19 +0000)]
[trunk] Remove a simple warning, and use static to detect unused functions. Simplify function declarations.

10 years ago[trunk] run test suite on dataset from issue 171
Mathieu Malaterre [Fri, 28 Feb 2014 12:30:11 +0000 (12:30 +0000)]
[trunk] run test suite on dataset from issue 171
Fixes issue 171

10 years ago[trunk] Remove some simple warnings in opj_dump
Mathieu Malaterre [Fri, 28 Feb 2014 12:06:57 +0000 (12:06 +0000)]
[trunk] Remove some simple warnings in opj_dump

10 years ago[trunk] Merge final patch from issue 171 with code simplification. also handles signe...
Mathieu Malaterre [Fri, 28 Feb 2014 09:52:35 +0000 (09:52 +0000)]
[trunk] Merge final patch from issue 171 with code simplification. also handles signed case properly.
Fixes issue 171

10 years ago[trunk] Fix find_path behavior within cross-compilation execution
Mathieu Malaterre [Fri, 28 Feb 2014 08:28:25 +0000 (08:28 +0000)]
[trunk] Fix find_path behavior within cross-compilation execution

10 years ago[trunk] Import patch from issue 218. No dataset to check, so blindly applied it.
Mathieu Malaterre [Thu, 27 Feb 2014 17:21:00 +0000 (17:21 +0000)]
[trunk] Import patch from issue 218. No dataset to check, so blindly applied it.
Fixes issue 218

10 years ago[trunk] Import patch from issue 171. Only the imagetoraw part was not applied.
Mathieu Malaterre [Thu, 27 Feb 2014 17:04:06 +0000 (17:04 +0000)]
[trunk] Import patch from issue 171. Only the imagetoraw part was not applied.
Update issue 171

10 years ago[trunk] Try to run test suite on invalid dataset from sumatrapdf team
Mathieu Malaterre [Thu, 27 Feb 2014 15:00:54 +0000 (15:00 +0000)]
[trunk] Try to run test suite on invalid dataset from sumatrapdf team
Update issue 225

10 years ago[trunk] run test suite to illustrate patch from r2458
Mathieu Malaterre [Thu, 27 Feb 2014 14:43:17 +0000 (14:43 +0000)]
[trunk] run test suite to illustrate patch from r2458

10 years ago[trunk] Make sure that opj_decompress only output a single component
Mathieu Malaterre [Thu, 27 Feb 2014 14:17:53 +0000 (14:17 +0000)]
[trunk] Make sure that opj_decompress only output a single component
Update issue 110

10 years ago[trunk] add issue 46 to the test suite
Mathieu Malaterre [Thu, 27 Feb 2014 10:03:11 +0000 (10:03 +0000)]
[trunk] add issue 46 to the test suite
Fixes issue 46

10 years ago[trunk] improve command line parser syntax checking
Mathieu Malaterre [Thu, 27 Feb 2014 10:02:46 +0000 (10:02 +0000)]
[trunk] improve command line parser syntax checking

10 years ago[trunk] add a sentinel in debug code
Mathieu Malaterre [Thu, 27 Feb 2014 09:56:06 +0000 (09:56 +0000)]
[trunk] add a sentinel in debug code

10 years ago[trunk] simplify code using for loop
Mathieu Malaterre [Thu, 27 Feb 2014 08:38:55 +0000 (08:38 +0000)]
[trunk] simplify code using for loop

10 years ago[trunk] Import test case from issue 208. This appears to be fixed now.
Mathieu Malaterre [Wed, 26 Feb 2014 17:13:46 +0000 (17:13 +0000)]
[trunk] Import test case from issue 208. This appears to be fixed now.
Fixes issue 208

10 years ago[trunk] Run test suite on dataset from issue 211. Test is now passing nicely.
Mathieu Malaterre [Wed, 26 Feb 2014 16:31:27 +0000 (16:31 +0000)]
[trunk] Run test suite on dataset from issue 211. Test is now passing nicely.
Fixes issue 211

10 years ago[trunk] run test suite on dataset from issue 135. Add fake md5sum to make sure tests...
Mathieu Malaterre [Wed, 26 Feb 2014 16:20:36 +0000 (16:20 +0000)]
[trunk] run test suite on dataset from issue 135. Add fake md5sum to make sure tests is failing.
Update issue 135

10 years ago[trunk] Update missing md5sums
Mathieu Malaterre [Wed, 26 Feb 2014 15:55:49 +0000 (15:55 +0000)]
[trunk] Update missing md5sums

10 years ago[trunk] kakadu does not support 451.pdf.SIGSEGV.ce9.372 we should not pretend to...
Mathieu Malaterre [Wed, 26 Feb 2014 15:41:57 +0000 (15:41 +0000)]
[trunk] kakadu does not support 451.pdf.SIGSEGV.ce9.372 we should not pretend to be able to decompress it

Update issue 225

10 years ago[trunk] Run test suite on issue 141. Add a fake dataset to report that test is failing.
Mathieu Malaterre [Wed, 26 Feb 2014 15:21:03 +0000 (15:21 +0000)]
[trunk] Run test suite on issue 141. Add a fake dataset to report that test is failing.
Update issue 141

10 years ago[trunk] Add more details in case test fails
Mathieu Malaterre [Wed, 26 Feb 2014 15:14:27 +0000 (15:14 +0000)]
[trunk] Add more details in case test fails

10 years ago[trunk] run test suite on input dataset from issue 134
Mathieu Malaterre [Wed, 26 Feb 2014 14:32:11 +0000 (14:32 +0000)]
[trunk] run test suite on input dataset from issue 134
Fixes issue 134

10 years ago[trunk] fixes test NR-DEC-file409752.jp2-40-decode, use proper naming convention...
Mathieu Malaterre [Wed, 26 Feb 2014 14:28:17 +0000 (14:28 +0000)]
[trunk] fixes test NR-DEC-file409752.jp2-40-decode, use proper naming convention (need to keep file extension)

10 years ago[trunk] add test suite for issue 142
Mathieu Malaterre [Wed, 26 Feb 2014 14:24:02 +0000 (14:24 +0000)]
[trunk] add test suite for issue 142

Fixes issue 142

10 years ago[trunk] When no output PGX file is found, report an error
Mathieu Malaterre [Wed, 26 Feb 2014 14:23:30 +0000 (14:23 +0000)]
[trunk] When no output PGX file is found, report an error

10 years ago[trunk] Add missing include dir for wx app
Mathieu Malaterre [Wed, 26 Feb 2014 14:04:03 +0000 (14:04 +0000)]
[trunk] Add missing include dir for wx app

10 years ago[trunk] Remove some simple warnings about cast, and unused functions
Mathieu Malaterre [Wed, 26 Feb 2014 14:00:21 +0000 (14:00 +0000)]
[trunk] Remove some simple warnings about cast, and unused functions

10 years ago[trunk] Remove a simple warning about a cast
Mathieu Malaterre [Wed, 26 Feb 2014 12:54:02 +0000 (12:54 +0000)]
[trunk] Remove a simple warning about a cast

10 years ago[trunk] revert r2460 since it breaks ETS-C1P0-p0_03.j2k-decode.
Mathieu Malaterre [Wed, 26 Feb 2014 12:33:49 +0000 (12:33 +0000)]
[trunk] revert r2460 since it breaks ETS-C1P0-p0_03.j2k-decode.
Update issue 225

10 years ago[trunk] Revert r2453 since it breaks conformance test ETS-C1P1-p1_06.j2k-decode
Mathieu Malaterre [Wed, 26 Feb 2014 12:30:44 +0000 (12:30 +0000)]
[trunk] Revert r2453 since it breaks conformance test ETS-C1P1-p1_06.j2k-decode

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 1336.pdf.asan.47.376
Mathieu Malaterre [Wed, 26 Feb 2014 11:27:01 +0000 (11:27 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1336.pdf.asan.47.376
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 1888.pdf.asan.35.988
Mathieu Malaterre [Wed, 26 Feb 2014 11:26:09 +0000 (11:26 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1888.pdf.asan.35.988
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 1851.pdf.SIGSEGV...
Mathieu Malaterre [Wed, 26 Feb 2014 11:25:27 +0000 (11:25 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1851.pdf.SIGSEGV.ce9.948
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. Start using new color space when found.
Mathieu Malaterre [Wed, 26 Feb 2014 11:24:38 +0000 (11:24 +0000)]
[trunk] Import patch from sumatrapdf team. Start using new color space when found.
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle some Part-2 compliant file...
Mathieu Malaterre [Wed, 26 Feb 2014 11:22:34 +0000 (11:22 +0000)]
[trunk] Import patch from sumatrapdf team. This handle some Part-2 compliant file, by being more tolerant in COLR box. No testcase for now.
Fixes issue 247

10 years ago[trunk] Import patch from sumatrapdf team. This handle some testcase with no input...
Mathieu Malaterre [Wed, 26 Feb 2014 11:21:18 +0000 (11:21 +0000)]
[trunk] Import patch from sumatrapdf team. This handle some testcase with no input dataset, but changes looks ok.
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 2977.pdf.asan.67...
Mathieu Malaterre [Wed, 26 Feb 2014 11:17:18 +0000 (11:17 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 2977.pdf.asan.67.2198
Update issue 225

10 years ago[trunk] Import (ugly) patch from sumatrapdf team. This feels like a hack rather than...
Mathieu Malaterre [Wed, 26 Feb 2014 11:16:32 +0000 (11:16 +0000)]
[trunk] Import (ugly) patch from sumatrapdf team. This feels like a hack rather than a solution.
Fixes issue 226

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 3635.pdf.asan.77...
Mathieu Malaterre [Wed, 26 Feb 2014 11:14:27 +0000 (11:14 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 3635.pdf.asan.77.2930
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. Original commit is 5b0c9985e3359aca9b3fcfd...
Mathieu Malaterre [Wed, 26 Feb 2014 11:13:21 +0000 (11:13 +0000)]
[trunk] Import patch from sumatrapdf team. Original commit is 5b0c9985e3359aca9b3fcfd94424166aa61a141a.
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 451.pdf.SIGSEGV.ce9...
Mathieu Malaterre [Wed, 26 Feb 2014 11:11:33 +0000 (11:11 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 451.pdf.SIGSEGV.ce9.3723
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 2.pdf.SIGFPE.706...
Mathieu Malaterre [Wed, 26 Feb 2014 11:10:40 +0000 (11:10 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 2.pdf.SIGFPE.706.1112
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 1610.pdf.SIGSEGV...
Mathieu Malaterre [Wed, 26 Feb 2014 11:09:59 +0000 (11:09 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 1610.pdf.SIGSEGV.59c.681
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 2539.pdf.SIGFPE.706...
Mathieu Malaterre [Wed, 26 Feb 2014 11:09:20 +0000 (11:09 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 2539.pdf.SIGFPE.706.1712
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This handle testcase 4035.pdf.SIGSEGV...
Mathieu Malaterre [Wed, 26 Feb 2014 11:08:25 +0000 (11:08 +0000)]
[trunk] Import patch from sumatrapdf team. This handle testcase 4035.pdf.SIGSEGV.d8b.3375
Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. Add detection for testcase 1802.pdf.SIGSEG...
Mathieu Malaterre [Wed, 26 Feb 2014 11:06:18 +0000 (11:06 +0000)]
[trunk] Import patch from sumatrapdf team. Add detection for testcase 1802.pdf.SIGSEGV.36e.894

Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. Add a new function to check color box.
Mathieu Malaterre [Wed, 26 Feb 2014 11:05:31 +0000 (11:05 +0000)]
[trunk] Import patch from sumatrapdf team. Add a new function to check color box.

Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling.
Mathieu Malaterre [Wed, 26 Feb 2014 11:04:33 +0000 (11:04 +0000)]
[trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling.

Update issue 225

10 years ago[trunk] Import patch from sumatrapdf team. This adds alpha handling. This patch chang...
Mathieu Malaterre [Wed, 26 Feb 2014 11:03:55 +0000 (11:03 +0000)]
[trunk] Import patch from sumatrapdf team. This adds alpha handling. This patch changes ABI.

Update issue 225

10 years ago[trunk] Update file extension function to handle cases where filename containes multi...
Mathieu Malaterre [Wed, 26 Feb 2014 10:48:06 +0000 (10:48 +0000)]
[trunk] Update file extension function to handle cases where filename containes multiples dots.

Update issue 250

10 years ago[trunk] Clearly indicate that mem-b2ace68c-1381.jp2 should not be decompressed.
Mathieu Malaterre [Wed, 26 Feb 2014 09:57:38 +0000 (09:57 +0000)]
[trunk] Clearly indicate that mem-b2ace68c-1381.jp2 should not be decompressed.

Update issue 250

10 years ago[trunk] Fix TestJPIP1 on case sensitive system
Mathieu Malaterre [Wed, 26 Feb 2014 09:51:37 +0000 (09:51 +0000)]
[trunk] Fix TestJPIP1 on case sensitive system

10 years ago[trunk] regex would not be used to remove java deprecation warning from dashboard
Mathieu Malaterre [Wed, 26 Feb 2014 09:47:53 +0000 (09:47 +0000)]
[trunk] regex would not be used to remove java deprecation warning from dashboard

10 years ago[trunk] Remove simple warnings about unused functions
Mathieu Malaterre [Wed, 26 Feb 2014 09:46:01 +0000 (09:46 +0000)]
[trunk] Remove simple warnings about unused functions

10 years ago[trunk] Properly store and use value returned by fread. Also invert nmemb and size...
Mathieu Malaterre [Wed, 26 Feb 2014 09:40:19 +0000 (09:40 +0000)]
[trunk] Properly store and use value returned by fread. Also invert nmemb and size in fread call.

Fixes issue 262

10 years ago[trunk] Fix invalid write access in JPIP code.
Mathieu Malaterre [Wed, 26 Feb 2014 09:35:11 +0000 (09:35 +0000)]
[trunk] Fix invalid write access in JPIP code.

Fixes issue 261

10 years ago[trunk] Run decoder on input dataset from issue 254. Add fake md5sum to make sure...
Mathieu Malaterre [Tue, 25 Feb 2014 17:15:22 +0000 (17:15 +0000)]
[trunk] Run decoder on input dataset from issue 254. Add fake md5sum to make sure the test is failing.

Update issue 254

10 years ago[trunk] deprecationg warning issued by java compiler should be ignored
Mathieu Malaterre [Tue, 25 Feb 2014 16:53:42 +0000 (16:53 +0000)]
[trunk] deprecationg warning issued by java compiler should be ignored

10 years ago[trunk] Create a new static *_impl function to avoid a warning triggered by the depre...
Mathieu Malaterre [Tue, 25 Feb 2014 16:49:26 +0000 (16:49 +0000)]
[trunk] Create a new static *_impl function to avoid a warning triggered by the deprecation mecanism

Fixes issue 257

10 years ago[trunk] New decoded files are passing. Adding reference files.
Mathieu Malaterre [Tue, 25 Feb 2014 16:36:26 +0000 (16:36 +0000)]
[trunk] New decoded files are passing. Adding reference files.

Update issue 225

10 years ago[trunk] For now assume any provided stream should not get decompressed.
Mathieu Malaterre [Tue, 25 Feb 2014 16:16:34 +0000 (16:16 +0000)]
[trunk] For now assume any provided stream should not get decompressed.

Update issue 225

10 years ago[trunk] Run decoder on issue 229 test cases
Mathieu Malaterre [Tue, 25 Feb 2014 15:36:09 +0000 (15:36 +0000)]
[trunk] Run decoder on issue 229 test cases

Update issue 229

10 years ago[trunk] Revert r2415 for now since it introduce large regression
Mathieu Malaterre [Tue, 25 Feb 2014 14:14:56 +0000 (14:14 +0000)]
[trunk] Revert r2415 for now since it introduce large regression

10 years ago[trunk] Import commit 87b08a096bb8ad61f9dbe4811e208d9c9d7fe63b from ghostpdl
Mathieu Malaterre [Tue, 25 Feb 2014 14:03:30 +0000 (14:03 +0000)]
[trunk] Import commit 87b08a096bb8ad61f9dbe4811e208d9c9d7fe63b from ghostpdl

don't define lrintf for MSVC 2013 (fix compilation breakage)

Update issue 225

10 years ago[trunk] Import commit 4cee6ceab21025079f439bb152fb9d8ae8c5c832 from ghostpdl
Mathieu Malaterre [Tue, 25 Feb 2014 13:50:29 +0000 (13:50 +0000)]
[trunk] Import commit 4cee6ceab21025079f439bb152fb9d8ae8c5c832 from ghostpdl

Bug 694906: fix potential heap overflow in opj_t2_read_packet_header

Update issue 225

10 years ago[trunk] import commit 83dad6a76536222a3a51146f942e733a2e90ec52 from ghostpdl
Mathieu Malaterre [Tue, 25 Feb 2014 13:39:50 +0000 (13:39 +0000)]
[trunk] import commit 83dad6a76536222a3a51146f942e733a2e90ec52 from ghostpdl

fix potential NULL-pointer dereference caused by testing the wrong variable
after opj_realloc (happens only in OOM situations)

Update issue 225

10 years ago[trunk] Import commit fc884aee2b69c78500e65c3d05bf216791a9ea4a from ghostpdl
Mathieu Malaterre [Tue, 25 Feb 2014 13:38:32 +0000 (13:38 +0000)]
[trunk] Import commit fc884aee2b69c78500e65c3d05bf216791a9ea4a from ghostpdl

prevent heap overflow in opj_t2_read_packet_header

Also prevent a double-free of segment data under OOM conditions.

Problem found in a test file, 1802.pdf.SIGSEGV.36e.894 supplied
by Mateusz "j00ru" Jurczyk and Gynvael Coldwind of the Google
Security Team using Address Sanitizer. Many thanks!

Update issue 225

10 years ago[trunk] Import commit 8ec8321df613986e8642e2975f7182072eb4be62 from ghostpdl
Mathieu Malaterre [Tue, 25 Feb 2014 13:33:43 +0000 (13:33 +0000)]
[trunk] Import commit 8ec8321df613986e8642e2975f7182072eb4be62 from ghostpdl

make opj_stream_set_user_data accept a NULL stream
for consistency with opj_stream_set_* which does so.

Update issue 225

10 years ago[trunk] Import commit f4139d702559649e577a5df9cfd64b0ca6107a7a from ghostpdl
Mathieu Malaterre [Tue, 25 Feb 2014 13:28:37 +0000 (13:28 +0000)]
[trunk] Import commit f4139d702559649e577a5df9cfd64b0ca6107a7a from ghostpdl

Several functions accept a buffer size but never actually check whether
the buffer overflows during reading/writing. This fixes all cases where
a size variable has explicitly been marked as unused (through a (void)
cast).

This was discovered while investigating an assertion caused by
7cc691f332f26802c64cdc47e17bff8b_signal_sigabrt_7ffff6d59425_2247_2509.pdf
among others.

Thanks to Mateusz Jurczyk and Gynvael Coldwind of the Google Security
Team for providing the example files.

10 years ago[trunk] Clarify raw input in openjpeg. LSB vs MSB are now documented.
Mathieu Malaterre [Tue, 25 Feb 2014 10:35:07 +0000 (10:35 +0000)]
[trunk] Clarify raw input in openjpeg. LSB vs MSB are now documented.

Fixes issue 62

10 years ago[trunk] Run test case for issue 228. Output has been validated.
Mathieu Malaterre [Tue, 25 Feb 2014 10:30:40 +0000 (10:30 +0000)]
[trunk] Run test case for issue 228. Output has been validated.

Fixes issue 228

10 years ago[trunk] Run sumatrapdf test cases
Mathieu Malaterre [Tue, 25 Feb 2014 10:06:37 +0000 (10:06 +0000)]
[trunk] Run sumatrapdf test cases

10 years ago[trunk] add missing private lib. Update issue 223
Mathieu Malaterre [Mon, 24 Feb 2014 17:22:48 +0000 (17:22 +0000)]
[trunk] add missing private lib. Update issue 223

10 years ago[trunk] Make sure to always output pgx file. Handle case where multiple pgx files...
Mathieu Malaterre [Mon, 24 Feb 2014 16:55:13 +0000 (16:55 +0000)]
[trunk] Make sure to always output pgx file. Handle case where multiple pgx files are generated. Fixes all tests.

10 years ago[trunk] add test demonstrating a regression in 1.5.0 and up. Update issue 205
Mathieu Malaterre [Mon, 24 Feb 2014 16:09:42 +0000 (16:09 +0000)]
[trunk] add test demonstrating a regression in 1.5.0 and up. Update issue 205

10 years ago[trunk] improve test suite by checking against a reference md5
Mathieu Malaterre [Mon, 24 Feb 2014 16:07:21 +0000 (16:07 +0000)]
[trunk] improve test suite by checking against a reference md5

10 years ago[trunk] Fix a simple mem leak
Mathieu Malaterre [Mon, 24 Feb 2014 14:55:32 +0000 (14:55 +0000)]
[trunk] Fix a simple mem leak

10 years ago[trunk] Fix two simple warnings about sign mismatch
Mathieu Malaterre [Mon, 24 Feb 2014 14:50:40 +0000 (14:50 +0000)]
[trunk] Fix two simple warnings about sign mismatch

10 years ago[trunk] Fix warning about signed/unsigned mismatch
Mathieu Malaterre [Mon, 24 Feb 2014 14:27:02 +0000 (14:27 +0000)]
[trunk] Fix warning about signed/unsigned mismatch

10 years ago[trunk] Make sure to handle ret value, and properly initialize output file
Mathieu Malaterre [Mon, 24 Feb 2014 14:22:25 +0000 (14:22 +0000)]
[trunk] Make sure to handle ret value, and properly initialize output file

10 years ago[trunk] Make sure to handle ret value in test
Mathieu Malaterre [Mon, 24 Feb 2014 14:10:11 +0000 (14:10 +0000)]
[trunk] Make sure to handle ret value in test