pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/libraw
Module Name: pkgsrc
Committed By: wiz
Date: Mon Nov 30 11:40:18 UTC 2026
Modified Files:
pkgsrc/graphics/libraw: Makefile distinfo
Log Message:
libraw: update to 0.22.3.
2026-10-24 Alex Tutubalin <lexa%lexa.ru@localhost>
LibRaw 0.22.3 Release
This is bugfix-only release, see included commits list below.
* Special notes on CVE-2026-111272:
- (as described on author's page): This CVE report is based "only on
static analysis" without attempting to reproduce the issue at runtime.
- In fact, "static analysis" failed: it assumes system calloc() use
for memory allocation while LibRaw::calloc() is used in reality.
- So, "discovered" OOB-heap accesses by fixed offset(s) are not OOB,
all accesses occur within the allocated buffer
- The author made no attempts to contact our team.
- Our attempts to contact him also went unanswered.
Summary: this is false positive and a very bad example of reporting
a non-existent vulnerability without trying to contact the vendor.
Commits included in this release:
* e8de2d60 destimage var added to omp parallel statement
* 11a5f842 changed (wrong) static to stack in normalize_model
* b55eef9a xtrans interpolate: incorrect memmove data size
* 37ee3956 X-Trans/half interpolation: find green pixel based on CFA pattern, not pixel values
* b5b68d15 xtrans_interpolate: fix logic error, interpolation should use original pixel values, not ones adjusted on previous tile. Note: 2x image memory needed
* d7e09495 mask decodecache index in Sony YCbCr decoder
* 42c66b63 use local static strnlen version b/c global may be missing
* a97291bf Better gps ref recording
* 90cea585 tiff_head: perform strip bytes calculation in 64 bit, check against 2^31-1
* e1be11e2 CRX decoder: use 64 bit offsets in data
* a0462027 lossless DNG/SOF1-IDCT case: refuse images with tiff_samples > 1
* 1432e690 x3f camf matrix setup: size check
* fb2a2e94 implement explicit 6-bit mask on shift argument in pana8 decoder
* 4747dab4 CRX decoder: clamp qParam table index in legacy quantization path
* a624a732 allocated image size data check implemented in x3f loaded
* de356b1b additional offset check in x3f thumbnail loader
* 171848ad fixed wrong 32=>64 bit conversion in CIFF parser
* fd254378 dng: initialize tone-curve table before OpcodeList2 parsing
* d1ea9fe6 Fix: there is no isnan/isinf in MSVC 2010 and older
* f6606c19 Initi hassy's tmp_model w/ zeroes
* f67f8426 better Hasselblad model parsing
* b3ed417d explicitly initialize _fsize for bigfile datastream
* a403b25e add stream validity check before cr3 size checking
* 8f0ba465 Revert "check TIFF tag type for NewSubfileType"
* eaacd850 parse_kodak_ifd: fixed possible body name overrun
* 844de590 unset progress bit if open stage failed
* 3e4ba1d5 X3F utils: data size check added
* 121882f5 wavelet denoise/OpenMP case: add missed size initialization
* d48495b6 Check for valid float/double in getreal
* 764ace01 check TIFF tag type for NewSubfileType
* c9f2931a CRX decoder: prevent possible index overrun on damaged files
2026-07-16 Alex Tutubalin <lexa%lexa.ru@localhost>
LibRaw 0.22.2 Release
This is bugfix-only release with these commits included:
* 5e37b038 Fixed 6yr old typos in USE_6BY9RPI 8- and 16- bit decoders
* e4b18e7a trimSpaces: Improved handling of zero-length strings and strings consisting only of spaces
* d932fa11 Misc fixups
* dead45de Fix links to license files in contributing document
* be519b31 removeExcessiveSpaces: handle zero-length strings the right way
* 98bb471b contributing rules updated
* 2bc644b3 Zero read buffers before fread
* f33997a1 FP DNG loader: check for tile index; convertFloatToInt: avoid possible integer overflow
* c9fcadbe open_bayer(): reject images with raw size/visible size less than 22 (as in open_file/identify); vng_interpolate: do not interpolate images less than 8x8
* 4bf0a0af PPM16 thumb: check against LIBRAW_MAX_THUMBNAIL_MB
* 7bf4c81c open_bayer(): additional input data checks
* 184c2ec5 Olympus/14bit: refuse incorrect wbits metadata
* 2ae5b3b3 X3F decoder: initialise raw storage if LIBRAW_CALLOC_RAWSTORE defined
* e2547d07 crx decoder: check plane size agains imgdata.rawparams.max_raw_memory_mb
* 2dce5bdb Crx decoder: avoid possible int32 overflow on allocation size calculations
* 67a7ddaf check for ifd->bps values in FP DNG decoder
* 595c8364 fixed stack memory/previous image metadata exposure (reported by DMSAN)
* f8065268 LibRaw_memmgr: allow malloc to fail on local pointer array small allocation. It will definitely fall later on large-buffer allocation
* 233ae06d rotated fuji: stricter image size limits; raw2image(ex): avoid possible 32-bit overflow on alloc size calculations
* a0880cfa width/height and iwidth/height values documented
* 3bea0fa8 width/height and iwidth/height values documented
* 7dff13dc wavelet denoise: ensure allocation size not exceed 4GB
* 56fc049a unpack_thumb: check JPEG thumbnail size before performing allocation; Remove all allocation test results because LibRaw::calloc/malloc will raise exception if allocation fails
* 07597ffd removed row_stride signed/unsigned mix; check row_stride value against buffer size
* 3ba757f7 fixed possible next struct item override in x3f_parse
* 537e81c0 parse_phase_one: prevent buffer overrun if incorrect flat field data provided
* 80a05133 Limit parse_mos recursion depth; parse_qt: raise exception, do not hide too depth nesting error
* b41f8137 parse_qt: avoid too deep recursion
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/graphics/libraw/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/graphics/libraw/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/libraw/Makefile
diff -u pkgsrc/graphics/libraw/Makefile:1.40 pkgsrc/graphics/libraw/Makefile:1.41
--- pkgsrc/graphics/libraw/Makefile:1.40 Sat Apr 11 17:08:22 2026
+++ pkgsrc/graphics/libraw/Makefile Mon Nov 30 11:40:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2026/04/11 17:08:22 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2026/11/30 11:40:18 wiz Exp $
-DISTNAME= LibRaw-0.22.1
+DISTNAME= LibRaw-0.22.3
PKGNAME= ${DISTNAME:tl}
CATEGORIES= graphics
MASTER_SITES= https://www.libraw.org/data/
Index: pkgsrc/graphics/libraw/distinfo
diff -u pkgsrc/graphics/libraw/distinfo:1.32 pkgsrc/graphics/libraw/distinfo:1.33
--- pkgsrc/graphics/libraw/distinfo:1.32 Sat Apr 11 17:08:22 2026
+++ pkgsrc/graphics/libraw/distinfo Mon Nov 30 11:40:18 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2026/04/11 17:08:22 wiz Exp $
+$NetBSD: distinfo,v 1.33 2026/11/30 11:40:18 wiz Exp $
-BLAKE2s (LibRaw-0.22.1.tar.gz) = fff4bbccf74baa17c44b095e7f50423b8c97a7fc2552fdfbfcc6cfe9c831b532
-SHA512 (LibRaw-0.22.1.tar.gz) = 5b54bcc9a158da414806f0b8e890886323a153467aeb115e0bba662adf853560af68eec0a58a1f26438ec85ff4511f5332209c1cfda663dc6c889419f075476b
-Size (LibRaw-0.22.1.tar.gz) = 1682411 bytes
+BLAKE2s (LibRaw-0.22.3.tar.gz) = e8738e64d233412ff624c9c390f48bc203fae23cb3731dcfaa67fbcd9ed07680
+SHA512 (LibRaw-0.22.3.tar.gz) = 69d463ffc896b7226807a9e926308dba1c0579e4e9bc759ceabba39eb5bdfe98091a4a7402b992b754fdc7a232bdfc2d4b1bae863fe7a689da8d019e5ae2e4f0
+Size (LibRaw-0.22.3.tar.gz) = 1689119 bytes
SHA1 (patch-libraw__r.pc.in) = 6e5057a9cbdfba5782a7f6fd7c9f49333b4fb920
Home |
Main Index |
Thread Index |
Old Index