summaryrefslogtreecommitdiff
path: root/src/bin/jp2
AgeCommit message (Collapse)Author
2017-08-09opj_decompress: document -quiet option, and remove spurious newline outputEven 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-07Changes for converttif.c to fix tsize_tszukw000
2017-08-02First change on changes-for-afl-testsszukw000
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-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-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-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-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 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-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
2015-11-01convert: Fix compiler warningsStefan Weil
Fix this and other similar compiler warnings: src/bin/jp2/convert.c: In function ‘tga_readheader’: src/bin/jp2/convert.c:595:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] cmap_len = get_ushort(*(unsigned short*)(&tga[5])); Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-01convert: Remove unneeded type castsStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-10-18Fix format strings and unneeded assignmentStefan Weil
The static code analyzer cppcheck warns about unsigned integers which use "%d" in the format string. It also warns about an unneeded assignment. Fix both issues. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-10-07Fix warnings for C++Stefan Weil
g++ complains about invalid conversions like these ones: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] error: invalid conversion from ‘void*’ to ‘opj_precision* {aka opj_prec*}’ [-fpermissive] Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-09-29Fix up-scaling bit depthmayeut
Fixes #609
2015-09-29Fix typos in comments and stringStefan Weil
Most typos were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-09-25Provide safer string copy than strncpymayeut
As per @boxerab suggestion in commit b9ca882749597e4943e609daba1d3c27694fe2ff
2015-09-25Fix resource leakmayeut
2015-09-25Fix resource leaks & unchecked resource allocationsmayeut
2015-09-24Fix some resource leaksmayeut
2015-09-23Use buffer on stack to read TGA headermayeut
Fixes a potential leak Fixes #601
2015-09-23Fix warning in rle4 decodingmayeut
2015-09-13Correct leak in color_cielab_to_rgbmayeut