head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.56 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.54 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.52 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.50 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.48 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.46 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.44 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.42 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.40 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.38 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.36 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.34 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.32 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.30 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.28 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.26 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.24 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.22 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.20 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.18 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.16 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.14 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.12 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.10 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.8 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.6 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @ * @; 1.2 date 2026.10.30.10.32.53; author prlw1; state dead; branches; next 1.1; commitid XOUl67eEB8KMju1H; 1.1 date 2019.11.25.21.07.19; author nros; state Exp; branches; next ; commitid 9QXqcjzLGpkachMB; desc @@ 1.2 log @Update jxrlib to 1.4.4 Motivated by wiz@@ in https://mail-index.netbsd.org/pkgsrc-users/2026/10/26/msg043665.html Breaking change: include directory renamed from jxrlib to libjxr Changelog * V1.4.4; 2026/10/09 + Fix potential size_t overflow in the memory allocation limit check of calloc_lim * V1.4.3; 2026/09/02 + tmpnam security mitigations: o Use a local buffer instead of its internal one o Fail to open file if it exists (requires C11) * V1.4.2; 2026/07/07 + Fix buffer overflow in outputNChannel (OSS Fuzz 532002884) * V1.4.1; 2026/06/03 + Fix Use-of-uninitialized-value in ReadContainer (OSS Fuzz 517870853) * V1.4.0; 2026/05/29 + Support for memory allocation limit via PKAlloc_SetLimit / PKAlloc_GetLimit API + Added PKLibJxr_GetVersion API to get library version + Unmaintained ASM X86 code moved to Unmaintained folder (it should not be used) + Fix memory leaks (OSS Fuzz 396171604, 511636124) + Fix crash in PKImageDecode_Copy_WMP (testcase s957297735_f50_tp5-testcard_gray16.jxr) + Fix issues found by github Security and quality * V1.3.8; 2026/05/21 + Fix DPI conversion accuracy in BMPs + Fix compilation error using GCC 15.2 * V1.3.7; 2026/05/13 + Fix Invalid-enum-value in ParsePFDEntry (OSS Fuzz 511393476) * V1.3.6; 2026/05/07 + Fix Use-of-uninitialized-value in PKFormatConverter_InitializeConvert (OSS Fuzz 506459298) + Fix Use-of-uninitialized-value in ReadWMIHeader (OSS Fuzz 508365265) + Fix buffer read overflow in ReadContainer * V1.3.5; 2026/04/29 + Changelog updated with list of fixed issues + Fix some compiler warnings * V1.3.4; 2026/04/27 + Fix memory leaks in PKImageDecode_Copy_WMP (OSS Fuzz 396171610) + Fix Null-dereference READ in invTransformMacroblock (OSS Fuzz 506921661) * V1.3.3; 2026/04/20 + Fix memory leak when Caption metadata is present (OSS Fuzz 396172316) * V1.3.2; 2026/04/13 + Fix Abrt in ImageStrDecTerm (OSS Fuzz 497787225) * V1.3.1; 2025/10/23 + First release with multiple security fixes o OSS Fuzz 404307109, 379254062, 378836895, 377965577, 373025984, 373025974, 372598913, 372547401, 372524130 o Others not tracked via online systems o Should also fixes CVE-2019-12212 + Fix compilation error on macOS + Sources converted to UTF-8 encoding @ text @$NetBSD: patch-jxrtestlib_JXRTestTif.c,v 1.1 2019/11/25 21:07:19 nros Exp $ * Fix warnings, from FreeBSD ports --- jxrtestlib/JXRTestTif.c.orig 2013-03-19 19:17:12.000000000 +0000 +++ jxrtestlib/JXRTestTif.c @@@@ -909,8 +909,8 @@@@ ERR PKImageDecode_Release_TIF(PKTestDeco PKTestDecode *pID = *ppID; - Call(WMPFree(&pID->EXT.TIF.uStripOffsets)); - Call(WMPFree(&pID->EXT.TIF.uStripByteCounts)); + Call(WMPFree((void**)&pID->EXT.TIF.uStripOffsets)); + Call(WMPFree((void**)&pID->EXT.TIF.uStripByteCounts)); Call(PKTestDecode_Release(ppID)); @ 1.1 log @Fix libjxr on big endian systems and fix warnings Add patches from FreeBSD ports that fix build warnings. For the patches to apply correctly, add conversion to unix style linebreaks. Define _BIG__ENDIAN_ on big endian systems to make the package behave correctly when running on them. As pointed out in jxrlibs makefile. Bump pkgrevision and abi depends due to the big endian change. @ text @d1 1 a1 1 $NetBSD$ @