summaryrefslogtreecommitdiff
path: root/src/bin
AgeCommit message (Collapse)Author
2017-08-09opj_decompress: document -quiet option, and remove spurious newline outputEven Rouault
2017-08-09src/bin/jpwl/convert.c pgxtoimage(): add missing fclose() (#977)Even Rouault
2017-08-09imagetobmp: avoid shift by -1 (relates to #811)Even Rouault
2017-08-08Fix remaining warningAntonin Descampe
format specifier mismatch in #975
2017-08-08Merge pull request #975 from szukw000/changes-for-afl-testsAntonin Descampe
Catch images broken by AFL
2017-08-07Complementary fix to previous commitEven Rouault
2017-08-07Add opj_image_data_alloc() / opj_image_data_free()Even Rouault
As bin/common/color.c used to directly call malloc()/free(), we need to export functions dedicated to allocating/freeing image component data.
2017-08-07Changes for converttif.c to fix tsize_tszukw000
2017-08-02First change on changes-for-afl-testsszukw000
2017-07-31src/bin/jpwl/convert.c: add missing fclose() in error code path (suggested ↵Even Rouault
by maddin200, #976)
2017-07-31Catch images broken by AFLszukw000
2017-07-30Avoid heap buffer overflow in function pnmtoimage of convert.c, and unsigned ↵Even Rouault
integer overflow in opj_image_create() (CVE-2016-9118, #861)
2017-07-29src/bin/jpwl/convert.c: fix memleak (fix suggested by maddin200, #631)Even Rouault
2017-07-29color_cielab_to_rgb(): reject images with components of different dimensions ↵Even Rouault
to void read heap buffer overflow (#909)
2017-07-29Fix breakage of 2fa0fc61f2d546c8b67e7c5a9cbc61d98e1f7af0 (#970)Even Rouault
2017-07-29imagetopnm(): make sure the alpha component has same dimension as other ↵Even Rouault
components to avoid read heap buffer overflow (#970)
2017-07-26Spelling fixes (patch by ka7, #890, rebased on top of master)Even Rouault
2017-07-26Reformat src/bin/wx/OPJViewer/source/OPJThreads.cpp ↵Even Rouault
src/bin/wx/OPJViewer/source/imagjpeg2000.cpp wrapping/java/openjp2/JavaOpenJPEG.c
2017-07-26opj_decompress: fix null pointer dereference on comps[].data on ↵Even Rouault
id_000167,sig_11,src_006079,op_havoc,rep_4 (#939)
2017-06-21Style fixEven Rouault
2017-06-21Fix mingw related warningsEven Rouault
2017-06-17Fix warning about unused argumentsEven Rouault
2017-06-14Merge pull request #928 from RussellMcOrmond/masterAntonin Descampe
Quiet mode for opj_decompress via -quiet long parameter.
2017-05-23CMake: add stronger warnings for openjp2 lib/bin by default, and error out ↵Even Rouault
on declaration-after-statement And remove occurences of unused arguments in src/lib/openjp2
2017-05-16Fixed formatting issues ASTYLERussell McOrmond
2017-05-15Quiet mode for opj_decompress via -quiet long parameter.Russell McOrmond
2017-05-15Reformat: apply reformattin on .h files (#128)Even Rouault
2017-05-09Reformat whole codebase with astyle.options (#128)Even Rouault
2016-09-26Remove typos from comments and man pagesMathieu Malaterre
2016-09-22Fix PNM file reading (#847)Matthieu Darbois
Malformed PNM file could cause a crash in opj_compress. Checks were added to prevent this. Fixes #843 Updates #440
2016-09-20Merge pull request #834 from trylab/issue833Antonin Descampe
Fix issue 833.
2016-09-14Fix some warnings (#838)Matthieu Darbois
Fix warnings introduced by uclouvain/openjpeg#786
2016-09-13Fix issue 833.trylab
Add some overflow check operations.
2016-09-08Merge branch 'master' of https://github.com/uclouvain/openjpeg into ↵Even Rouault
tier1_optimizations_multithreading_2 Conflicts: src/lib/openjp2/t1.c
2016-07-14jpwl: Remove non-portable data type u_int16_t (fix issue #796) (#797)Stefan Weil
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-05-25opj_decompress: use clock_gettime() instead of getrusage() so as to get the ↵Even Rouault
time spent, and not to the total CPU time
2016-05-25opj_decompress: add a -threads <num_threads> optionEven Rouault
2016-05-08Fix Heap Buffer Overflow in function color_cmyk_to_rgbmayeut
Fix uclouvain/openjpeg#774
2016-05-02Use lowercase for cmake commands consistenlyJulien Malik
Inspired from https://github.com/InsightSoftwareConsortium/ITK/blob/master/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt This needs vim 7.3 and fails with vim 7.4 This also fixes a number of : - missing empty line at end of files - useless space at end of lines
2016-04-30Fix bad call to fclose with NULL pointermayeut
2016-04-30Fix warnings (#763)Matthieu Darbois
2016-04-30Fix Out-Of-Bounds Read in sycc42x_to_rgb function (#745)Matthieu Darbois
42x Images with an odd x0/y0 lead to subsampled component starting at the 2nd column/line. That is offset = comp->dx * comp->x0 - image->x0 = 1 Fix #726
2016-04-29Fix heap-buffer-overflow in color_esycc_to_rgb (#748)Matthieu Darbois
When all components do not have the same dx/dy, components buffer are read beyond their end. Do not convert in this case. Update uclouvain/openjpeg#725
2016-04-29cppcheck fix for openjp2 (#740)julienmalik
2016-04-28Fix implicit float-to-bool conversions (#752)julienmalik
2016-04-23Allow to write 3/5/7/9/11/13/15 bpp TIF filesmayeut
Update uclouvain/openjpeg#729
2016-04-23Allow to read 3/5/7/9/11/13/15 bpp TIF filesmayeut
2016-04-09Remove dead code in opj_dumpJulien Malik
2015-11-01opj_decompress: Update error messageStefan Weil
The png format is also supported, so add it to the message. Remove also the unneeded blank character before \n. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-01Fix compiler warningsmayeut