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
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
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
e17dcf58c9
[1.5] fix compilation warning about lrintf being implicit.
...
Fixes issue 144
2012-05-21 09:23:06 +00:00
Mathieu Malaterre
39ac7c479f
[1.5] Revert r1642, as explained on https://groups.google.com/group/openjpeg/msg/77a67fef94a0309b
2012-04-23 19:26:19 +00:00
Mathieu Malaterre
baa7e32f9c
[1.5] Integrate patch from winfried posted on the mailing list. See here for more info: https://groups.google.com/group/openjpeg/msg/1bbf7ae7ddee3a51
2012-04-23 13:31:29 +00:00
Mathieu Malaterre
097496a9f0
[1.5] Integrate patch from winfried posted on the mailing list. See here for more info: https://groups.google.com/group/openjpeg/msg/7e30b6e288ad5908
2012-04-23 13:23:38 +00:00
Mathieu Malaterre
b431cb0a41
[1.5] fix compilation warnings on windows box
2012-04-18 14:15:10 +00:00
Mathieu Malaterre
dfbab28b4d
[1.5] debian tools detected a missing link to math lib
2012-04-16 13:16:16 +00:00
Mathieu Malaterre
a5d96e54b9
[1.5] Set from DOS eol to UNIX eol
2012-03-02 14:34:13 +00:00
Mathieu Malaterre
2dddf54f8b
[1.5] Sync with trunk and remove uneeded include headers
2012-03-02 14:14:07 +00:00
Mathieu Malaterre
ecb36f02c8
[1.5] Fix a warning about comparison of ulong >= 0. Thanks to winfried for report.
2012-03-01 16:55:54 +00:00
Mathieu Malaterre
cefa643823
[1.5] Fix JPWL's DLL installation. Thanks to winfried for report.
2012-03-01 15:08:18 +00:00
Rex Dieter
545680cdb4
allow finer-grain control of header location via OPENJPEG_INSTALL_INCLUDE_DIR
2012-02-28 17:52:33 +00:00
Antonin Descampe
5fbf79e730
[1.5] revert r1399 and r1400
2012-02-10 10:01:43 +00:00
Rex Dieter
a85c5151ce
make openjpeg.h header symlink to match autotools
2012-02-10 01:25:03 +00:00
Antonin Descampe
ba01e855a3
[1.5] fix issue #104
2012-01-23 08:22:23 +00:00
Mathieu Malaterre
85bbc6def8
Make r1330 more robust. Display more info.
2012-01-20 14:48:07 +00:00
Mathieu Malaterre
5bd5d894eb
Fix: MSVR-11-117 - Vulnerability Report.
2012-01-20 14:43:49 +00:00
Mathieu Malaterre
b7b72bbf97
BUG: 4 Apply patch from stefan.
2012-01-11 19:14:50 +00:00
Mathieu Malaterre
e1340fe087
BUG: 26 Fix issue with memory consumption.
2012-01-11 19:03:22 +00:00
Mathieu Malaterre
8d18c77a7d
Add the fno-common flag to work around an issue with ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
2012-01-11 13:54:11 +00:00
Mathieu Malaterre
f492f0a3d6
Redo the BUILD_THIRDPARTY properly. Remove openjpeg.h symlink.
2012-01-11 13:17:15 +00:00
Mathieu Malaterre
80f69364b0
Fix for static libs
2011-12-28 20:10:44 +00:00
Mathieu Malaterre
2e3900780d
Install lib in /lib and dll in /bin
2011-12-28 20:09:14 +00:00
Mathieu Malaterre
9d4d3b2cd0
Remove exe bit
2011-12-20 18:38:08 +00:00
Mathieu Malaterre
00b479cb79
Fix test NR-ENC-Bretagne2.ppm-4-encode on linux.
2011-12-20 17:49:12 +00:00
Mathieu Malaterre
a3a161660a
Fix strange line, as reported by lockalsash (gmail.com)
2011-12-20 17:10:30 +00:00
Mathieu Malaterre
4bcd3a1e42
Fix a warning on MacOSX
2011-12-16 10:44:53 +00:00
Mathieu Malaterre
2a2f169b27
Remove warning about unused args
2011-12-16 10:40:14 +00:00
Mathieu Malaterre
e576aa9f06
Reorder static inline when extension is found (GNU)
2011-12-16 10:38:18 +00:00
Mathieu Malaterre
c469e1339f
Remove some simple warnings about comments
2011-12-16 10:29:30 +00:00
Mathieu Malaterre
72867bc692
Fix a bunch of warnings reported by gcc (unused results from fwrite)
2011-12-12 08:55:44 +00:00
Mathieu Malaterre
82e539d333
Remove more warnings
2011-12-08 09:25:25 +00:00
Mathieu Malaterre
548a49bb7f
Remove warnings seen on the dashboard
2011-12-08 09:09:59 +00:00
Antonin Descampe
238b767917
[1.5] backport r1017, r1030:1032 from trunk + additional fix for cmake and autotools
2011-11-02 00:49:20 +00:00