trylab
2cbad4f074
Strengthen integer overflow check in opj_pi_create_decode
...
l_tcp->numlayers and l_step_l are both OPJ_UINT32 type variables. Thus
using SIZE_MAX or ((size_t)-1) to check integer overflow is
insufficient. We should use (OPJ_UINT32)-1 here.
2016-09-08 10:41:34 +08:00
trylab
865da86c14
Merge remote-tracking branch 'upstream/master'
2016-09-08 10:26:30 +08:00
trylab
7a8209ae16
Merge remote-tracking branch 'refs/remotes/uclouvain/master'
2016-09-08 10:24:21 +08:00
Matthieu Darbois
e078172b1c
Add sanity check for tile coordinates ( #823 )
...
Coordinates are casted from OPJ_UINT32 to OPJ_INT32
Add sanity check for negative values and upper bound becoming lower
than lower bound.
See also
https://pdfium.googlesource.com/pdfium/+/b6befb2ed2485a3805cddea86dc7574510178ea9
2016-09-08 00:24:15 +02:00
Matthieu Darbois
acfb307df4
Add test for PR 818 ( #822 )
...
update uclouvain/openjpeg#818
2016-09-07 00:00:21 +02:00
Matthieu Darbois
275aad4df8
Update to libpng 1.6.25 ( #821 )
2016-09-06 22:33:45 +02:00
Matthieu Darbois
734d57d5f7
fix incrementing of "l_tcp->m_nb_mcc_records" in opj_j2k_read_mcc ( #820 )
2016-09-06 22:33:26 +02:00
Matthieu Darbois
24e6c308d8
Fix leak & invalid behavior of opj_jp2_read_ihdr ( #818 )
...
In case multiple ihdr box are present, only the first one shall be
taken into account.
2016-09-06 18:24:29 +08:00
Matthieu Darbois
df417222ee
Add overflow check in opj_j2k_update_image_data ( #817 )
2016-09-06 18:24:29 +08:00
Matthieu Darbois
51155a5c21
Change 'restrict' define to 'OPJ_RESTRICT' ( #816 )
...
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC.
Need to check proper usage of OPJ_RESTRICT (if correct then there’s
probably a bug in vc14)
Closes #661
2016-09-06 18:24:29 +08:00
Stefan Weil
c9a4e2c80c
Add .gitignore ( #787 )
...
Ignore all files and directories which are generated by `cmake . && make`.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-09-06 18:24:29 +08:00
Matthieu Darbois
5e4238fe7c
Switch to clang 3.8 ( #814 )
...
clang 3.9 is currently unavailable for precise through apt
2016-09-06 18:24:29 +08:00
trylab
c16bc057ba
Fix an integer overflow issue ( #809 )
...
Prevent an integer overflow issue in function opj_pi_create_decode of
pi.c.
2016-09-06 07:55:49 +02:00
Matthieu Darbois
ea320dab8b
Add overflow check in opj_tcd_init_tile ( #819 )
2016-09-06 07:54:29 +02:00
trylab
7816ec3a11
Fix integer overflow in opj_pi_create_decode
...
Simplify code
2016-09-06 09:16:54 +08:00
Matthieu Darbois
d7e6b7de8a
Fix leak & invalid behavior of opj_jp2_read_ihdr ( #818 )
...
In case multiple ihdr box are present, only the first one shall be
taken into account.
2016-09-06 01:31:15 +02:00
Matthieu Darbois
ccd9ced49e
Add overflow check in opj_j2k_update_image_data ( #817 )
2016-09-06 00:50:44 +02:00
Matthieu Darbois
9f24b078c7
Change 'restrict' define to 'OPJ_RESTRICT' ( #816 )
...
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC.
Need to check proper usage of OPJ_RESTRICT (if correct then there’s
probably a bug in vc14)
Closes #661
2016-09-06 00:49:53 +02:00
Stefan Weil
51155950eb
Add .gitignore ( #787 )
...
Ignore all files and directories which are generated by `cmake . && make`.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-09-05 22:07:50 +02:00
Matthieu Darbois
23cee22286
Switch to clang 3.8 ( #814 )
...
clang 3.9 is currently unavailable for precise through apt
2016-09-02 23:58:12 +02:00
trylab
79a397df02
Fix an integer overflow issue
...
Replace OPJ_UINT32 with SIZE_MAX
2016-08-25 12:54:31 +08:00
trylab
a65c9452da
Fix an integer overflow issue
...
Remove header file limits.h
2016-08-25 12:01:44 +08:00
trylab
7f703c696b
Fix an integer overflow issue
...
Making it more secure to call opj_calloc.
2016-08-23 17:02:21 +08:00
TryLab
713429b8fa
Fix an integer overflow issue
...
Prevent an integer overflow issue in function opj_pi_create_decode of
pi.c.
2016-08-16 17:22:57 +08:00
Matthieu Darbois
4a2a8693e5
Update to lcms 2.8 ( #808 )
2016-08-06 13:04:56 +02:00
Matthieu Darbois
1509ccc51f
Update to libpng 1.6.24 ( #807 )
2016-08-06 12:51:40 +02:00
Matthieu Darbois
5bb919a30e
Reenable clang-3.9 build on travis ( #806 )
...
clang-3.9 is now available with apt add-on in travis-ci
2016-08-06 12:26:46 +02:00
Matthieu Darbois
b8bd1b0e07
Add compilation test for standalone inclusion of openjpeg.h ( #798 )
...
This ensures all openjpeg.h dependencies are met.
Fix #673
2016-07-14 11:06:26 +02:00
Stefan Weil
e40c28c2e8
jpwl: Remove non-portable data type u_int16_t (fix issue #796 ) ( #797 )
...
The type casts which used this data type can be removed by changing
the signature of function swap16. As this function is called with
unsigned variables, this change is reasonable.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-07-14 10:49:17 +02:00
Stefan Weil
18da6155b2
Fix dependency for pkg-config (issue #594 ) ( #795 )
...
openjpeg provides libopenjp2.pc, so the require statements must refer to
libopenjp2 instead of openjp2.
Fixes #594
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-07-12 00:45:51 +02:00
mayeut
b3c422654f
Update ABI tracker script
...
Disable previous version.
2016-07-06 00:26:37 +02:00
mayeut
9db62b2011
Update ABI tracker from 2.1 to 2.1.1
2016-07-05 23:53:31 +02:00
Antonin Descampe
7948d83340
update api/abi tracker
2016-07-05 23:33:00 +02:00
mayeut
132c4a248b
Add version 2.1.1 to ABI tracker
2016-07-05 22:12:11 +02:00
Antonin Descampe
ed294598ea
Trigger API/ABI update on website
2016-07-05 18:10:35 +02:00
Antonin Descampe
fef144283f
Update INSTALL.md
2016-07-05 16:49:10 +02:00
Antonin Descampe
4c5a1cc825
Update AUTHORS.md
2016-07-05 16:40:27 +02:00
Antonin Descampe
bd96ed8353
Update AUTHORS file
2016-07-05 16:07:16 +02:00
Antonin Descampe
f4a708ba0f
Update INSTALL, README and THANKS file
2016-07-05 16:04:29 +02:00
Antonin Descampe
2372cb78a0
Upload changelog and convert some files to mardown
2016-07-05 15:29:02 +02:00
Antonin Descampe
9d5002f8fd
Remove useless diff command in abi-check.sh
2016-06-26 20:00:37 +02:00
Matthieu Darbois
e4c74f5364
Correct abi-check.sh for PR ( #791 )
2016-06-25 01:09:42 +02:00
maddin200
cb72c08472
Update tcd.c ( #790 )
...
cppcheck unitialized variable
2016-06-21 22:13:57 +02:00
Matthieu Darbois
898ca6f522
Remove clang-3.9 build
...
c.f. travis-ci/travis-ci#6120
2016-06-21 22:09:08 +02:00
Antonin Descampe
86698be6e9
Automatic upload of ABI report (end)
2016-06-21 17:41:29 +02:00
Antonin Descampe
cdcb77e796
Automatic upload of ABI report (ctd)
2016-06-21 17:21:08 +02:00
Antonin Descampe
954dad66de
Automatic upload of ABI report (ctd)
2016-06-21 16:46:38 +02:00
Antonin Descampe
48744a1342
setup automatic upload of ABI reports
2016-06-21 16:19:06 +02:00
Antonin Descampe
d0babeb6f6
WIP automatic release
2016-05-15 18:17:24 +02:00
Antonin Descampe
d1ca2b4f29
WIP: debug travis run script
2016-05-15 00:53:24 +02:00