Mathieu Malaterre
6e0162a8a6
[1.5] Check the number of tiles
2014-03-18 14:19:21 +00:00
Mathieu Malaterre
910af7edec
[1.5] Import patch from trunk to make test passes. Affects: NR-DEC-2977.pdf.asan.67.2198.jp2-52-decode & NR-DEC-4149.pdf.SIGSEGV.cf7.3501.jp2-50-decode
2014-03-18 14:05:44 +00:00
Mathieu Malaterre
69cd4f9211
[1.5] Import portion of patch from issue 297
...
Run test suite on new datasets
Update issue 297
2014-03-18 12:47:45 +00:00
Mathieu Malaterre
6fc2b56847
[1.5] Remove another set of simple warnings
2014-03-17 16:11:48 +00:00
Mathieu Malaterre
773bd89130
[1.5] Remove simple warning about C++ style comments
2014-03-17 16:03:07 +00:00
Mathieu Malaterre
5d356d6fcb
[1.5] Update BSD-4 copyright into a BSD-3 copyright
...
Update issue 300
2014-03-17 15:02:20 +00:00
Mathieu Malaterre
a2f90ab2cb
[1.5] Prevent buffer overflow in openjpip code
2014-03-12 11:55:54 +00:00
Mathieu Malaterre
a05a9aa4ed
[1.5] Fix remainings warnings on 1.5 branch
2014-03-12 11:52:26 +00:00
Mathieu Malaterre
af2be2d456
[1.5] Use improved find_path syntax to help cross-compilation setup find openjpeg data root
2014-03-04 08:29:53 +00:00
Mathieu Malaterre
96dba34ddc
[1.5] Declare functions static to track unused ones.
2014-02-26 08:43:20 +00:00
Mathieu Malaterre
6aad1208b2
[1.5] Import first patch (fixes.patch) from issue 249 to fix leaks on error condition.
...
Update issue 249
2014-02-26 08:38:19 +00:00
Mathieu Malaterre
d2be8c5d21
[1.5] Use new add_test signature to handle cross compilation and execution using wine
2014-02-26 08:34:28 +00:00
Mathieu Malaterre
b42f76cb7f
[1.5] Remove addition from r1702 this introduced a regression as seen in issue 205
...
Fixes issue 205
2014-02-25 14:44:55 +00:00
Mathieu Malaterre
07163be7ed
[1.5] Import md5 checker from trunk back onto 1.5 branch
2014-02-25 14:28:30 +00:00
Mathieu Malaterre
4e672cc1e9
[1.5] Do not report warning on third party lib
2014-02-24 12:26:51 +00:00
Mathieu Malaterre
ced9a50367
[1.5] Remove some simple warnings
2014-02-24 10:01:27 +00:00
Mathieu Malaterre
a1683bd7c2
[1.5] Import patch suggested in bug #241
2013-09-26 09:24:55 +00:00
Antonin Descampe
f968a70e22
tests : reactivated conformance tests in openjpeg 1.5 branch to enable comparison with trunk
2013-07-11 17:09:02 +00:00
Mickael Savinaud
2fe6bac6eb
[b1.5.x] update the micro version into the configure file (thanks to winfried)
2013-03-14 08:52:38 +00:00
Mathieu Malaterre
15243144c4
[1.5] Rework #ifdef checks. We should check for _M_IX86 instead of not(_M_X64). Thanks to Misha Ulyutin for report on ML
2013-02-27 08:03:39 +00:00
Mickael Savinaud
c0c69d1c36
[1.5] improve the bmp read function for RGB8 case (thanks Winfried). Update issue 203
2012-12-18 08:47:19 +00:00
Rex Dieter
d9d62a77ee
backport r2259
...
Doxyfile: HTML_TIMESTAMP = NO
helps when comparing the output of multiple runs,
and distros will appreciate avoiding multilib conflicts.
2012-12-07 15:10:24 +00:00
Mathieu Malaterre
15488c94d2
[1.5] Fix Java binding issues.
...
Properly link to math lib on UNIX
Make JNI install location a user configuration
Remove SONAME property from the java module
2012-10-22 11:29:32 +00:00
Mathieu Malaterre
75175b715c
[1.5] Build small internal tools to generate t1_luts.h
2012-10-02 07:43:12 +00:00
Mathieu Malaterre
46831582b2
[1.5] missing range check in j2k_read_coc et al.
...
Fixes issue 166
2012-10-02 07:17:09 +00:00
Mathieu Malaterre
e55d5e29e0
[1.5] division by zero in j2k_read_siz
...
Fixes issue 169
2012-10-02 07:09:57 +00:00
Mathieu Malaterre
c02f145cd1
[1.5] int main() in t1_generate_luts.c breaks mplayer
...
Fixes issue 152
2012-10-02 07:02:56 +00:00
Mathieu Malaterre
6280b5ad8d
[1.5] jp2_read_boxhdr() can trigger random pointer memory access
...
Fixes issue 155
2012-10-01 15:57:01 +00:00
Mathieu Malaterre
7720188fa7
[1.5] Start opj 1.5.2
2012-10-01 15:49:16 +00:00
Mathieu Malaterre
20f9f96719
[1.5] update NEWS file
2012-09-10 11:28:38 +00:00
Mathieu Malaterre
4776f48477
[1.5] Fix Heap-based buffer-overflow when decoding openjpeg image
...
Thanks to Huzaifa Sidhpurwala of Red Hat Security Response Team for dataset to reproduce the issue.
Fixes issue 170
2012-09-10 11:16:55 +00:00
Mathieu Malaterre
c2f32bb485
[1.5] Fix issue with str_length not being used. Rewrite code to prefer use of vsnprintf to prevent potential buffer overflow.
2012-09-10 09:54:40 +00:00
Mathieu Malaterre
bba708462d
[1.5] remove extra trailing semicolon
2012-09-10 09:28:48 +00:00
Mathieu Malaterre
4935eaf773
[1.5] COMP: Fix warnings identified by clang31
...
openjpeg/libopenjpeg/tcd.c:1884 col 48: warning: comparison of unsigned expressi
on < 0 is always false
openjpeg/applications/codec/j2k_dump.c:362 col 29: warning: equality comparison
with extraneous parentheses
openjpeg/libopenjpeg/jpwl/jpwl_lib.c:680:19: warning: format specifies type 'int
' but the argument has type 'long long' [-Wformat]
printf("Marker@%d: %X\n", cio_tell(cio) - 2, id);
~^ ~~~~~~~~~~~~~~~~~
%lld
openjpeg/applications/jpip/libopenjpip/byte_manager.c:58:63: warning: format spe
cifies type 'long' but the argument has type 'OPJ_OFF_T' (aka 'long long') [-Wfo
rmat]
fprintf( FCGI_stderr, "Error: error in fetch_bytes( %d, %ld, %lu)\n", fd, offset
, size);
Author: Hans Johnson <hans-johnson@uiowa.edu>
2012-08-24 08:13:17 +00:00
Mathieu Malaterre
bad9a71e77
[1.5] Import portion of patch from Alex Zimnitsky to fix compilation on FreeBSD
2012-07-29 15:21:39 +00:00
Mathieu Malaterre
a74a41b932
[1.5] Fix compilation issue with Compiler Borland C++ v. 5.5
...
Fixes issue 154
2012-07-11 15:07:05 +00:00
Mathieu Malaterre
6b5bbc2645
[1.5] Fix r1727 (Issue 156) to compile on compilers where false is not defined.
2012-07-11 15:00:55 +00:00
Mathieu Malaterre
8b5f815925
[1.5] This fixes issues seen on PDF files
...
Fixes issue 156
2012-07-11 14:54:48 +00:00
Mathieu Malaterre
abce31e706
[1.5] Fix heap buffer overflow
...
Enforce sanity checks on tile number and tile length, even when the (rather
broken) USE_JPWL code isn't enabled.
2012-07-10 13:08:08 +00:00
Mathieu Malaterre
8062f74deb
[1.5] jp2_read_boxhdr() call ignores return value
...
Fixes issue 91
2012-05-29 17:49:11 +00:00
Mathieu Malaterre
b8fecbbc99
[1.5] Make sure openjpeg/mj2 can be compiled with gcc -std=c89
2012-05-29 17:42:17 +00:00
Mathieu Malaterre
cd8896968d
[1.5] This commit hides symptoms of CVE-2009-5030
...
As explained in issue 5, comment 1. This is an easy fix to avoid memory overrun.
Update issue 5
Update issue 62
2012-05-29 17:21:05 +00:00
Mathieu Malaterre
b94bc0dbe2
[1.5] Applying old patch from r1642, with further modification from winfried. Also enable failing test. Everything seems to be working well now.
...
Fixes issue 150
2012-05-29 16:21:46 +00:00
Mathieu Malaterre
083d4c2361
[1.5] Import r1669 from trunk over to 1.5 branch
2012-05-29 14:57:25 +00:00
Mathieu Malaterre
6c5a066b20
[1.5] Apply private patch from Alex Macfarlane Smith
...
This gets rids of a lot memory leaks when used on device with low memory
2012-05-29 14:52:45 +00:00
Mathieu Malaterre
835bf5357f
[1.5] The two files in Issue145 have a precision < 8-bit:
...
therefore 'jp2_read_pclr' must be changed.
j2k_to_image fails to create RGB/RGBA images with a
precision < 8-bit: therefore 'imagetopng' must be
changed.
Update issue 145
2012-05-29 13:54:21 +00:00
Mathieu Malaterre
8a279881d4
[1.5] Fix autotools installation. Thanks to winfried for patch.
...
Update issue 149
2012-05-29 13:41:54 +00:00
Mathieu Malaterre
6da56bb11a
[1.5] Fix compilation on FreeBSD. Thanks to rafael carre (funman@videolan.org) for patch.
...
Fixes issue 111
2012-05-29 10:19:45 +00:00
Mathieu Malaterre
8cd13f3a55
[1.5] Build fails on AIX
...
Fixes issue 139
2012-05-21 10:34:35 +00:00
Mathieu Malaterre
eeca4a220c
[1.5] Man page syntax fixes. Thanks to vskytta for patch.
...
Fixes issue 147
2012-05-21 09:25:39 +00:00