Opened 8 years ago

Closed 8 years ago

#8162 closed enhancement (fixed)

openjpeg2-2.1.1

Reported by: Armin K Owned by: Pierre Labastie
Priority: normal Milestone: 7.10
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

https://github.com/uclouvain/openjpeg/releases

New upstream. No standard tarball available it seems.

Change History (4)

comment:1 by Douglas R. Reno, 8 years ago

Full Changelog

Implemented enhancements:

    opj_malloc replacement #625
    backport "-p" and "-force-rgb" options in 1.5 #606
    Use travis-ci matrix build #581
    Add Coverity Scan analysis #580
    Unnecessary rate distortion calculations #479
    Add images from various security issues to test suite #415
    Coding speed for 9/7 on 32bits platforms (x86/ARM) can be improved with a quick fix #220

Fixed bugs:

    Out-of-Bounds Access in function opj_tgt_reset of tgt.c #775
    Heap Buffer Overflow in function color_cmyk_to_rgb of color.c #774
    division-by-zero (SIGFPE) error in opj_tcd_init_tile function (line 730 of tcd.c) #733
    Out-Of-Bounds Read in sycc422_to_rgb function #726
    Heap Corruption in opj_free function #725
    Out-Of-Bounds Read in opj_tcd_free_tile function #724
    Cannot handle box of undefined size #653
    Compilation fails without platform-supplied aligned malloc #642
    HP compiler warns about redeclaration of static function #640
    Implementation-defined behavior of malloc causes different behavior on Linux and AIX #635
    Build on AIX fails because "opj_includes.h" is included after system headers #633
    Compiling with SSE2 on Linux 32-bit causes crashes in OpenJPEG #624
    Build on AIX fails because of "restrict" pointers #620
    bug in new tif conversion code #609
    bin/jp2/convert.c line 1085 Resource leak #607
    bin/jp2/convert.c memory leak #601
    Resource leak in opj_j2k_create_cstr_index in case of failure #599
    Resource leak in opj_j2k_encode in case of failure #598
    Resource leak in opj_j2k_decode_one_tile in case of failure #597
    Resource Leak #573
    opj_compress fails to compress lossless on gcc/x86 (-m32) #571
    Use-after-free in opj_j2k_write_mco #563
    openjpeg-master-2015-07-30 failed to compile on LINUX #556
    PNG images are always read as RGB(A) images #536
    g4_colr.j2c not handled properly #532
    Bigendian: opj_compress + opj_decompress fails #518
    Suspicious code in j2k.c #517
    Decode times almost double(!!) on Visual Studio 2013, 2015 #505
    opj_data/input/nonregression/issue226.j2k #500
    opj_setup_encoder always returns true #497
    Double free in j2k_read_ppm_v3 parsing ((presumably invalid) image. #496
    Invalid write in opj_j2k_update_image_data #495
    Undefined printf format specifier %ud used in code #494
    Potential double free on malloc failure in opj_j2k_copy_default_tcp_and_create_tcp() #492
    Do not link with -ffast-math #488
    Heap-buffer-overflow in opj_dwt_decode #486
    opj_dump fails on Windows 7, 64 bits #482
    SIGSEGV in opj_j2k_update_image_data via pdfium_test #481
    Heap-buffer-overflow in opj_j2k_tcp_destroy #477
    Invalid image causes write past end of heap buffer #476
    Assertion `l_res->x0 >= 0' fails when parsing invalid images #475
    Bug on opj_write_bytes_BE function #472
    Refactor j2k_read_ppm_v3 function #470
    compression: strange precinct dimensions #466
    (:- Console message in opj_decompress -:) #465
    opj_decompress fails to decompress any files #463
    bio->ct is unnecessarily set to zero in opj_bio_flush method #461
    Maximal unsigned short is 65535, not 65536 #460
    OpenJpeg fails to encode components with different precision properly #459
    component precision upscaling isn't correct in opj_decompress #458
    Multiple precision components won't get encoded to jp2 if 1 component is unsigned 1 bit #457
    Incorrect code in ../bin/jp2/convert.c, function rawtoimage_common(...) #456
    [OpenJPEG-trunk] opj_stream_get_number_byte_left throws assert #455
    NR-DEC-kodak_2layers_lrcp.j2c-31-decode-md5 fails randomly when running tests in parallel #454
    compare_raw_files doesn't report an error on invalid arguments / missing input files #453
    Forward discrete wavelet transform: implement periodic symmetric extension at boundaries #452
    Bug in tiff reading method in convert.c #449
    Image in pdf don't display #447
    Multiple issues causing opj_decompress to segfault #446
    opj_compress: 40% of encode time is spent freeing data #445
    Multiple warnings when configuring OpenJPEG on MacOS with CMake 3.x (trunk) #443
    valgrind memleak found #437
    global-buffer-overflow src/lib/openjp2/t1.c:1146 opj_t1_getwmsedec #436
    Warning introduced on trunk r2923 & r2924 #435
    heap-buffer-overflow in opj_t1_decode_cblks #432
    Heap-buffer-overflow in opj_tcd_init_decode_tile #431
    Heap-buffer-overflow in opj_j2k_tcp_destroy #430
    Heap-buffer-overflow in opj_jp2_apply_pclr #429
    issue412 revisited #428
    Image distorted (sides look cankered) #423
    openjpeg-2.x-trunk-r2918 is broken in color.c #422
    Heap-buffer-overflow in opj_tcd_init_decode_tile #420
    Heap-use-after-free in opj_t1_decode_cblks #418
    UNKNOWN in opj_read_bytes_LE #417
    Transparency problem #416
    Image with per channel alpha (cdef) does not decode properly #414
    OpenJPEG crashes with attached image #413
    Palette image with cdef fails to decompress #412
    Invalid member values from opj_read_header or opj_decode ? #411
    MD5 Checksum hangs under valgrind on MacOS X #410
    Heap-buffer-overflow in opj_tcd_get_decoded_tile_size #408
    C++ style comments in trunk/src/lib/openjp2/j2k.c #407
    Backport bugfixes from trunk to 2.1 branch #405
    Heap-buffer-overflow in parse_cmdline_encoder #403
    Heap-buffer-overflow in opj_v4dwt_interleave_h #400
    Heap-buffer-overflow in opj_dwt_decode #399
    Heap-use-after-free in opj_t1_decode_cblks #398
    Heap-buffer-overflow in opj_jp2_apply_cdef #397
    Heap-buffer-overflow in opj_t2_read_packet_header #396
    Heap-buffer-overflow in opj_t2_read_packet_header #395
    Heap-buffer-overflow in opj_dwt_decode_1 #394
    Heap-double-free in j2k_read_ppm_v3 #393
    Security hole in j2k.c #392
    Security: double-free in opj_tcd_code_block_dec_deallocate #391
    check for negative-size params in code #390
    Heap-buffer-overflow in opj_t2_read_packet_header #389
    Heap overflow in OpenJpeg 1.5.2 #388
    openjpip.so.6 file too short #387
    Corrupted JP3D file #386
    variable assigned to itself #383
    Null pointer dereferencing #382
    bad use of case statement #381
    Release 2.1 as a Ubuntu package #380
    Bug in libopenjpwl.pc #374
    inconsistent tile numbering in decode output message #370
    error in code block calculations #369
    r2872 fails to compile due to "attempt to use poisoned malloc" error in j2k.c #368
    OSX build gives libopenjp2.6.dylib with not-absolute install name id #367
    opj_decompress gives error but successfully decompress in OPJ 2.1 #366
    pngtoimage() and imagetopng() have wrong byte order for 16-Bit image #365
    PDF crash in chrome - part2 (due to attachment limit) #364
    PDF crash in chrome - part1 #363
    PDF crash in chrome - part0 #362
    Compilation fails on Windows with mingw32 gcc4.8 #361
    security issue #360
    improve memory management #359
    how to compress a yuv420 raw data using opj_compress #357
    Some memory allocation are not checked #355
    Static library symbols shall be marked as hidden #354
    opj_compress rejects valid bmp files #353
    opj_compress crashes when number of resolutions is set to zero #352
    Compilation error under Visual Studio 2003 #351
    opj_compress description example error [Low priority] #350
    opj_write_bytes_BE is wrong in trunk #345
    PART1ONLY option in release.sh doesn't work properly #332
    openjpeg crash error #330
    openjpeg decompress error #329
    openjpeg decompress issue #326
    limited tif support #322
    asoc value of 65536 is allowed #321
    opj_skip_from_file error #314
    Heavy quota usage in openjpeg #309
    Verify -help actually match letter #307
    g3_colr.j2c not handled #288
    reopen/fix issue 165 #280
    kakadu conformance tests #279
    missing break after case statement in opj_dwt_decode_real #274
    Run Coverity on trunk #270
    NR-ENC-random-issue-0005.tif-12-encode #259
    Use new add_test signature to handle cross compilation #258
    Loss decoding quality in 2.0.0 #254
    Decompress that worked in 1.5.1 fails in 2.0 #252
    Expected endianness with raw input is not documented leading to SEGFAULT #251
    OpenJPEG writes to stderr #246
    Inconsistent logging of tile index #245
    patch for openjpeg-trunk-r2347 and BIG_ENDIAN #242
    CMAP: MTYP == 0 (direct use) not handled properly #235
    Black Pixel #233
    opj_compress runtime error after fresh Linux install due to apparent failure to execute ldconfig #219
    openjp2 debug works, release build does not #217
    openjpeg-branch15-r2299 and openjpeg-trunk-r2299 fail to decode a JP2 file #212
    openjpeg-trunk issue with Win7 #201
    undefined reference to `opj_version' #200
    In tgt.c we used fprintf not the openjpeg message reporter #184
    Windows binaries not working under WinXP #176
    add ability to use intel ipp (performance primitive) within OpenJPEG #164
    Migration guide v2 #160
    Cannot decompress JPEG2000Aware3.18.7.3Win32_kdutranscode6.3.1.j2k #158
    Cannot decompress JPEG2000Aware3.18.7.3Win32.j2k #157
    openjpeg@googlegroups.com has disappeard #153
    OpenJPEG 1.5.0 crashes on a ridiculously big file... #151
    opj_image vs free #146
    Windows .dll file invalid #140
    Problem with second layer of a 2 layer coded LRCP (with precincts) #135
    version 1.4 crashes when opening PDF file with JPEG2000 images #133
    Setup a win64 dashboard #132
    J2KP4files/codestreams_profile0/p0_13.j2k question jpeg2000 #131
    Out of memory: Kill process 11204 (opj_server) score 917 or sacrifice child #123
    FILE* in opj API is unsafe #120
    third-party lib order #119
    openjpeg-1.5.0-Darwin-powerpc.dmg is huge ! #113
    misleading info in JP2 box lead to wrong number of components #110
    Image_to_j2k says that j2k files is generated but no file is on the HDD #109
    Error in openjpegV1.4 on compiling image_to_j2k: crash on reading bmp file #108
    Update to abi-compliance-checker 1.96 #106
    Decode error on the attached JPEG...works in KDU and with JASPER...please help! #101
    Mac binaries v1.4 is broken #95
    jp2_read_boxhdr() has size bug in version 1 #92
    Support for Java JAI Imageio #90
    encoding test failing #86
    source archive on demand #85
    CMakeLists.txt and Makefile.am for JPIP are buggy #84
    pclr-cmap-cdef #82
    Error when compiling openjpeg_v1_4_sources_r697 #79
    J2K codec issue on Windows Mobile #77
    image_to_j2k.exe crashes on large .bmp file #75
    fatal error C1900 building the project on windows #65
    same option but different size #54
    Missing openjpegConfigure.h #38
    Not an issue in openjpeg, but ... #37
    OpenJPEG-1.3.0 pclr, cmap and cdef #27
    realloc maybe too big (t2.c) #26
    libopenjpeg/opj_malloc.h breaks on FreeBSD/Darwin systems #20
    image_to_j2k not outputting to win32 console properly #18
    [OpenJPEG] OpenJPEG_v13: tiled image part 2 #17
    JP2 Color Space modification by Matteo Italia #13
    Patch submission ( exotic video formats, and a few things ) #12
    16 bits lossy compression #10
    pnm file formats not accepting bitdepth greater than 8 bpp #8
    Heap corruption in j2k encoder #5
    JPWL crash in marker reallocation(+patch), segfault while decoding image with main header protection #4
    a couple of small errors in libopenjpeg detected by coverity #1

Closed issues:

    Shared library build broken on ubuntu #728
    opj_includes.h shouldn't define \_\_attribute\_\_ #727
    Possible website problems due to Jekyll upgrade #713
    Stable Release? #712
    Meta Issue : try to fix some of these critical bugs before thinking about optimizing the library #710
    Tiled encoding broken for images with non power of 2 dimensions #702
    install_name (still) not set on OS X #700
    Add section in wiki describing where one can get test images #699
    Make EvenManager into singleton #698
    Remove old branches from repo #696
    MQ Coder encode: Conditional jump or move depends on uninitialised value(s) #695
    Can we add these files to our test suite ? #688
    -t and -d command line flags for decode are not documented on OpenJPEG website #685
    Decoding at the precinct level #676
    Support unscaled 10 bit data for 2K cinema @ 48 FPS, as per DCI standard #671
    Use parallel jobs in ctest #664
    [Security]Multiple Memory error #663
    lossy encoding a 16 bit TIF file : severe artifiacts in decompressed image #660
    opj_compress and opj_decompress : get_next_file method uses hard-coded unix path separator #630
    Uninitialized variable #629
    Use of enum variable for bit flags prevents compilation as C++ source #619
    Serious problem with quantization during lossy encoding #615
    Decompression does not work with sequential data source #613
    potential overflow in opj_tcd_tile_t #605
    Logical condition #596
    file9.jp2 does not dump correctly on 1.5 #595
    opj_compress man page is missing documentation of -jpip option #593
    opj_compress fails to compress lossless on gcc/x86 (-m32) in 1.5 branch #591
    Example: opj_compress -i image.j2k -o image.pgm #577
    Mismatching delete #575
    Compilation fails on Win7 #546
    NR-JP2-file5.jp2-compare2base fails with third party libcms #540
    CTest spits out an error at the end of the test run #516
    opj_uint_adds() is questionable #515
    Might consider renaming this method: #491
    opj_compress run twice gives different fiile sizes for same file #490
    Android Support #483
    Add SSE2/SSE41 implementations for mct.c #451
    Reduce encoder code block memory usage for non 64x64 code block sizes #444
    valgrind "Uninitialized Memory Read" & "Uninitialized Memory Conditional" found #438
    No way to debug opj_tcd_init_encode_tile or opj_tcd_init_decode_tile #433
    Add option to call dsymutil on built binaries #409
    Allow opj_compress and opj_decompress to read/write images over stdin/stdout #379
    reduce memory significantly for single tile RGB encoding #375
    Switch code repo to github and start using pull request workflow #373
    This is a BigTIFF file. This format not supported #125
    Add a test suite to check the convert functions #99
    Add build config to the dashboard to verify the autotools build #88

Merged pull requests:

    Correct abi-check.sh for PR #791 (mayeut)
    Update tcd.c #790 (maddin200)
    Update lcms2 #773 (mayeut)
    Use lowercase for cmake commands consistenly #769 (julienmalik)
    Ignore clang's summary warning #768 (julienmalik)
    Fix UBSan gcc warning for first arg to memset non null #767 (julienmalik)
    Update to libtiff-4.0.6 #764 (mayeut)
    Fix warnings #763 (mayeut)
    Check SSIZ is valid in opj_j2k_read_siz #762 (mayeut)
    Fix unsigned int overflow reported by UBSan #761 (mayeut)
    Fix unsigned int overflow reported by UBSan #759 (mayeut)
    Fix negative shift left reported by UBSan #758 (mayeut)
    Fix negative shift left reported by UBSan #757 (mayeut)
    Add clang 3.9 build to Travis matrix #753 (julienmalik)
    Fix implicit floating bool conversion #752 (julienmalik)
    Do not define __attribute__ in opj_includes.h #751 (mayeut)
    Allow to read/write 3/5/7/9/11/13/15 bpp TIF files #750 (mayeut)
    Fix heap-buffer-overflow in color_esycc_to_rgb #748 (mayeut)
    update libpng to from 1.6.17 to 1.6.21 #747 (julienmalik)
    Update cmake & jpylyzer for travis builds #746 (julienmalik)
    Fix Out-Of-Bounds Read in sycc42x_to_rgb function #745 (mayeut)
    cppcheck fix for openjp2 #740 (julienmalik)
    Fix uninitialized variable reported by cppcheck #735 (julienmalik)
    Remove dead code in opj_dump #734 (julienmalik)
    issue #695 MQ Encode: ensure that bp pointer never points to uninitialized memory #708 (boxerab)
    Fix issue 135 #706 (mayeut)
    Fix implementation of opj_calloc #705 (stweil)
    [git/2.1 regression] Fix opj_write_tile() failure when numresolutions=1 #690 (rouault)
    Fix fatal crash on 64 bit Linux #687 (stweil)
    [libtiff] Add missing include statement for ssize_t #686 (mayeut)
    Fix duplicate article in comments #684 (stweil)
    Fix grammar in comment #679 (stweil)
    Remove whitespace and CR at line endings #678 (stweil)
    Fix typos #665 (jwilk)
    Add missing source for the JPIP library and executables (issue #658) #659 (stweil)
    Fix undefined size jp2 box handling #654 (mayeut)
    opj_decompress: Update error message #651 (stweil)
    Fix support of posix_memalloc for Linux #648 (stweil)
    Fix typo in comments #647 (stweil)
    Avoid pointer arithmetic with (void *) pointers #644 (smuehlst)
    Fix HP compiler warning about redeclaration of function (#640) #641 (smuehlst)
    Fix format strings and unneeded assignment #638 (stweil)
    Fix repository for JPEG2000 test data #637 (stweil)
    Update allocation functions #636 (mayeut)
    Fix OpenJPEG GitHub issue #633. #634 (smuehlst)
    travis-ci: Include add ons in matrix #632 (mayeut)
    Add Appveyor #627 (mayeut)
    Use Travis-ci to run ABI check #626 (mayeut)
    Fix warnings for C++ #623 (stweil)
    Fixed problem that C++ compilation failed because of enum variable. #622 (smuehlst)
    Added missing casts for return values of opj_malloc()/opj_calloc(). #618 (smuehlst)
    Add check for seek support before trying TPsot==TNsot workaround #617 (mayeut)
    Fix some typos found by codespell #610 (stweil)
    Correct leak in color_cielab_to_rgb #590 (mayeut)
    Add Travis-ci build matrix #584 (mayeut)
    Correct lossless issue on linux x86 #579 (mayeut)
    Travis-ci update #578 (mayeut)
    Correct CMake version requirements #572 (mayeut)
    Add tests for CMYK/esYCC/CIELab #567 (mayeut)
    Add support for CIELab, EYCC and CMYK #559 (szukw000)
    Remove printf/fprintf to stdout/stderr throughout openjp2 lib #558 (mayeut)
    better -ffast-math handling #555 (rdieter)
    Add jpylyzer tests for JP2 compression #552 (mayeut)
    Add COC/QCC in main header when needed #551 (mayeut)
    Use __emul under msvc x86 for fast 64 = 32 * 32 #550 (mayeut)
    Update convert for PNG output #549 (mayeut)
    Remove some warnings when building #548 (mayeut)
    Switch to libpng-1.6.17 #547 (mayeut)
    Add some missing static keywords #545 (mayeut)
    Switch to libcms2 mm2/Little-CMS@0e8234e090d6aab33f90e2eb0296f30aa0705e57 #544 (mayeut)
    Prevent overflow when coding 16 bits images #543 (mayeut)
    Switch to libcms2-2.6 #542 (mayeut)
    Update PNG support #538 (mayeut)
    Various Minor fixes #537 (mayeut)
    Update TIFF conversion to support more bit depth. #535 (mayeut)
    Add checks for odd looking cmap & for cmap outside jp2h box #534 (mayeut)
    Refactor opj_j2k_read_ppm & opj_j2k_read_ppt #533 (mayeut)
    Add option to force component splitting in imagetopnm #531 (mayeut)
    fix Suspicious code in j2k.c #517 #529 (renevanderark)
    Update zlib to version 1.2.8 #528 (mayeut)
    Fix opj_write_bytes_BE (#518) #521 (manisandro)
    Correctly decode files with incorrect tile-part header fields (TPsot==TNsot) #514 (mayeut)
    Fixed typos #510 (radarhere)
    Formatted the readme file #507 (htmfilho)

Wow.

comment:2 by Pierre Labastie, 8 years ago

Owner: changed from blfs-book@… to Pierre Labastie
Status: newassigned

comment:3 by Pierre Labastie, 8 years ago

https://github.com/uclouvain/openjpeg/archive/v2.1.1.tar.gz

Firefox downloads to openjepg-2.1.1.tar.gz, but wget gets v2.1.1.tar.gz... I guess we need to host the properly renamed tarball on anduin...

comment:4 by Pierre Labastie, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r17702

Note: See TracTickets for help on using tickets.