1*3ac0a46fSAndroid Build Coastguard WorkerName: OpenJPEG 2*3ac0a46fSAndroid Build Coastguard WorkerURL: http://www.openjpeg.org/ 3*3ac0a46fSAndroid Build Coastguard WorkerVersion: 2.5.0 (also update in opj_config*) 4*3ac0a46fSAndroid Build Coastguard WorkerSecurity Critical: yes 5*3ac0a46fSAndroid Build Coastguard WorkerShipped: yes 6*3ac0a46fSAndroid Build Coastguard WorkerLicense: 2-clause BSD 7*3ac0a46fSAndroid Build Coastguard WorkerCPEPrefix: cpe:/a:uclouvain:openjpeg:2.5.0 8*3ac0a46fSAndroid Build Coastguard Worker 9*3ac0a46fSAndroid Build Coastguard WorkerDescription: 10*3ac0a46fSAndroid Build Coastguard WorkerJPEG 2000 library. 11*3ac0a46fSAndroid Build Coastguard Worker 12*3ac0a46fSAndroid Build Coastguard WorkerLocal Modifications: 13*3ac0a46fSAndroid Build Coastguard Worker 14*3ac0a46fSAndroid Build Coastguard Worker0003-dwt-decode.patch: Check array bounds for opj_dwt_decode_1() and friends. 15*3ac0a46fSAndroid Build Coastguard Worker0005-jp2_apply_pclr.patch: Fix out of bounds access. 16*3ac0a46fSAndroid Build Coastguard Worker0006-tcd_init_tile.patch: Fix a divide by zero bug in opj_tcd_init_tile(). 17*3ac0a46fSAndroid Build Coastguard Worker0007-jp2_read_cmap.patch: Fix wrong rendering on greyscale images with index colorspace. 18*3ac0a46fSAndroid Build Coastguard Worker0009-opj_pi_next.patch: Fix potential bad precno value in opj_pi_next* functions. 19*3ac0a46fSAndroid Build Coastguard Worker0011-j2k_update_image_data.patch: Prevent bad signed -> unsigned casting. 20*3ac0a46fSAndroid Build Coastguard Worker0012-mct_sse.patch: Don't use SSE intrinsics in 32-bit builds. 21*3ac0a46fSAndroid Build Coastguard Worker0014-opj_jp2_read_ihdr_leak.patch: Memory leak in opj_jp2_read_ihdr(). 22*3ac0a46fSAndroid Build Coastguard Worker0015-read_SPCod_SPCoc_overflow.patch: Prevent a buffer overflow in opj_j2k_read_SPCod_SPCoc. 23*3ac0a46fSAndroid Build Coastguard Worker0016-read_SQcd_SQcc_overflow.patch: Prevent a buffer overflow in opj_j2k_read_SQcd_SQcc. 24*3ac0a46fSAndroid Build Coastguard Worker0019-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_code_blocks_size|. 25*3ac0a46fSAndroid Build Coastguard Worker0022-jp2_apply_pclr_overflow.patch: Prevent integer overflow in opj_jp2_apply_pclr. 26*3ac0a46fSAndroid Build Coastguard Worker0023-opj_j2k_read_mct_records.patch: Fix opj_j2k_read to prevent heap-use-after-free. 27*3ac0a46fSAndroid Build Coastguard Worker0025-opj_j2k_add_mct_null_data.patch: Check m_data != null before trying to read from it. 28*3ac0a46fSAndroid Build Coastguard Worker0026-use_opj_uint_ceildiv.patch: Remove (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)a, (OPJ_INT32) b). 29*3ac0a46fSAndroid Build Coastguard Worker0034-opj_malloc.patch: PDFium changes in opj_malloc. 30*3ac0a46fSAndroid Build Coastguard Worker0035-opj_image_data_free.patch: Use the right free function in opj_jp2_apply_pclr. 31*3ac0a46fSAndroid Build Coastguard Worker0039-opj_mqc_renorme.patch: Remove unused opj_mqc_renorme(). 32*3ac0a46fSAndroid Build Coastguard Worker0041-remove_opj_clock.patch: Remove unused opj_clock.h include. 33*3ac0a46fSAndroid Build Coastguard Worker0042-popcnt-windows-arm64.patch: Backport to fix Windows arm64 build. 34*3ac0a46fSAndroid Build Coastguard Worker0043-mel_init.patch: Backport fix for assertion failure in mel_init(). 35*3ac0a46fSAndroid Build Coastguard Worker0044-opj_t1_allocate_buffers.patch: Backport fix for malloc size error in opj_t1_allocate_buffers(). 36*3ac0a46fSAndroid Build Coastguard Worker0045-openjp2-j2k-replace-sprintf-calls-with-snprintf.patch: Replace sprintf with snprintf for macOS 13 SDK compatibility, from https://github.com/uclouvain/openjpeg/pull/1450. 37*3ac0a46fSAndroid Build Coastguard Worker0046-func-ptr-mixup.patch: Prevent mixing up function pointer types. 38