Checked 2026-11-05 against the live SourceForge tracker and all 197 ticket records returned by its REST API. Fork review baseline: f376729 (origin/master, FreeImage 3.19.31). Candidate exports use committed history at that baseline; uncommitted working-tree changes are excluded.
The archive contains 29 original attachments on 29 tickets: historical #115 and #170–197. Two further tickets from danoli3, #96 and #198, link to code without attachments. #169 is an empty duplicate of #170. Tickets #170–173 are anonymous, included because the recorded fork submission series maps them to our commits. Other contributors' patches are outside the attachment archive.
SVN trunk still reports r1911, last changed 2024-04-18 (svn info https://svn.code.sf.net/p/freeimage/svn/FreeImage/trunk, checked 2026-11-05). Tracker status and submission do not establish source acceptance. #96 is closed, #115 is open, and #170–198 have an empty API status field; no individual SVN acceptance revision has been established here.
Exact downloaded bytes are retained under sourceforge/<ticket>/, alongside the public ticket metadata (description, visible discussion and attachment URLs). manifest.json records download URLs, byte sizes and SHA-256 values. SHA256SUMS verifies the attachments from that directory. The original API index pages are retained for reproducibility.
| Ticket | What it fixes or changes | Local artifact | State |
|---|---|---|---|
| #96 | Fixes for FreeImage - iOS and arm64 | Linked commit exports; no uploaded attachment | Closed; no acceptance revision recorded; updated by #115 |
| #115 | Fixes for FreeImage - iOS, OSX, arm64 and x86_64 | FreeImage3.17.0.patch | Open; historical FreeImage 3.17.0 patch |
| #170 | CVE-2020-24292: reject illegal ICO BITMAPINFOHEADER bpp/size | CVE-2020-24292.patch | Submitted; SVN acceptance unverified |
| #171 | CVE-2020-24293: bound psdThumbnail::Read packed-row copy | CVE-2020-24293.patch | Submitted; SVN acceptance unverified |
| #172 | CVE-2020-24295: bound psdParser::ReadImageLine destination writes | CVE-2020-24295.patch | Submitted; SVN acceptance unverified |
| #173 | CVE-2020-22524: fix PFM integer overflow in line buffer allocation | CVE-2020-22524.patch | Submitted; SVN acceptance unverified |
| #174 | CVE-2020-24294 / CVE-2024-28565: clamp psdParser::UnpackRLE src and dst | CVE-2020-24294.patch | Submitted; SVN acceptance unverified |
| #175 | CVE-2024-28579 / CVE-2024-28582: reject overflowing HDR RLE scanline counts | CVE-2024-28579.patch | Submitted; SVN acceptance unverified |
| #176 | CVE-2024-28584: NULL-check JPEG2000 image after opj_read_header | CVE-2024-28584.patch | Submitted; SVN acceptance unverified |
| #177 | CVE-2024-28581: TARGA RLE IOCache at least one pixel wide | CVE-2024-28581.patch | Submitted; SVN acceptance unverified |
| #178 | CVE-2024-28567: re-fetch TIFF ICC pointer after ExifIFD switch | CVE-2024-28567.patch | Submitted; SVN acceptance unverified |
| #179 | CVE-2021-33367: bound Exif 0th-IFD next-offset read | CVE-2021-33367.patch | Submitted; SVN acceptance unverified |
| #180 | CVE-2024-28568/9029/28570/28573/28577/28578/28580: IPTC/Exif/XPM/RAS OOB | CVE-2024-28568.patch | Submitted; SVN acceptance unverified |
| #181 | CVE-2024-28566/28571/28572/28583: TIFF AssignPixel, JPEG src, MakerNote, XBM | CVE-2024-28566.patch | Submitted; SVN acceptance unverified |
| #182 | CVE-2024-28574/28575/28576: replace bundled OpenJPEG 2.0.0 with 2.5.4 | CVE-2024-28574.patch.gz | Submitted; SVN acceptance unverified |
| #183 | CVE-2024-28562/28563/28564/28569: replace bundled OpenEXR 2.2 with 3.3.13 | CVE-2024-28562.patch.gz | Superseded by #197; retain for history only |
| #184 | Prevent scanline pointer underflow in CUT RLE decoding | cut-rle-bounds-submission.zip | Submitted; SVN acceptance unverified |
| #185 | Reject three-plane PCX images with insufficient bytes per plane | pcx-plane-width-submission.zip | Submitted; SVN acceptance unverified |
| #186 | Preserve DDS DXT dimensions and decode trailing partial blocks | dds-partial-blocks-submission.zip | Submitted; SVN acceptance unverified |
| #187 | Select RGB565 conversion using the distinguishing green mask | rgb565-conversion-submission.zip | Submitted; SVN acceptance unverified |
| #188 | Accept BMP information-header sizes already handled by the loader | bmp-extended-headers-submission.zip | Submitted; SVN acceptance unverified |
| #189 | Accept trailing BMP RLE8 end-of-bitmap after the final end-of-line | bmp-rle8-terminator-submission.zip | Submitted; SVN acceptance unverified |
| #190 | Complete the OpenJPEG 2.5.4 Windows project source list (follow-up to #182) | openjpeg-2.5.4-project.patch.gz | Companion to #182; original has no final newline (see parsing note below); SVN acceptance unverified |
| #191 | Update bundled zlib from 1.2.13 to 1.3.2 | zlib-1.3.2.patch.gz | Submitted; SVN acceptance unverified |
| #192 | Update bundled libpng from 1.6.39 to 1.6.59 | libpng-1.6.59.patch.gz | Submitted; SVN acceptance unverified |
| #193 | Update bundled WebP from 1.2.1 to 1.6.0 | webp-1.6.0.patch.gz | Submitted; SVN acceptance unverified |
| #194 | Update bundled libtiff from 4.5.0 to 4.7.2 | libtiff-4.7.2.patch.gz | Submitted; SVN acceptance unverified |
| #195 | Update bundled LibRawLite from 0.21.1 to 0.22.2 | libraw-0.22.2.patch.gz | Submitted; SVN acceptance unverified |
| #196 | Update bundled IJG JPEG from 9d to 10.0 | jpeg-10.0.patch.gz | Submitted; SVN acceptance unverified |
| #197 | Replace #183 with OpenEXR 3.5.2, Imath 3.2.3 and libdeflate 1.26 | openexr-3.5.2.patch.gz | Replaces #183; SVN acceptance unverified |
| #198 | Harden RAS and IFF PBM RLE image decoders | Linked commit exports; no uploaded attachment | Ticket submitted, attachment missing; RAS also overlaps #180 |
- #169 is an accidental empty ICO stub; use #170.
- Apply #179 before later Exif changes, #180 before #181, and #178 before #181's TIFF changes.
- Vendor sequence for SVN r1911: #182 → #190 → #191 → #192 → #193 → #194 → #195 → #196 → #197. Shared build/project files make the order significant. #197 replaces #183; do not apply both.
- Submitted SVN patches use root-relative paths (
-p0). For vendor gzip patches, decompress into a temporary file and usepatch --dry-run -E -p0, thenpatch -E -p0from the target tree root.-Eremoves obsolete files. ZIP bundles contain their own patch and notes. The historical #115 patch targets FreeImage 3.17.0; inspect its headers and original instructions separately. sourceforge/96/linked-commitsandsourceforge/198/linked-commitscontain locally exported Git diffs (-p1) of commits linked in those tickets. These are not SourceForge attachments. #198's RAS fix is already part of #180; its IFF fixes have ticket links but no uploaded patch.- Earlier loader regression notes and vendor-series validation are retained. They describe the original preparation work and its limits, not new validation performed for this archive.
#190 formatting: the decompressed uploaded patch ends with an unterminated context line. git apply --numstat rejects it as corrupt at line 202. The original gzip is preserved byte-for-byte; this separate parsing companion appends exactly one LF byte and passes strict patch parsing. This is a local derivative, not an uploaded replacement or a new SVN application test.
The downloaded vendor patches already contain several fixes previously listed as needing submission checks: #193 includes the WebP ARM64EC guards in src/dsp/cpu.h; #197 includes the libdeflate ARM64EC detection in common_defs.h, strict-C11 Linux feature declarations in lib/arm/cpu_features.c, and Android pre-28 aligned allocation in OpenEXR's internal_zstd.c. These do not need separate duplicate submissions. Fork reference exports are retained for provenance (the WebP part belongs to #193).
The following focused topics have local candidate patches. A missing match means no corresponding submission was identified in our tickets, their descriptions and visible discussions; it is not proof that another contributor has never submitted equivalent code. Related historical tickets and possible vendor-snapshot overlap are identified explicitly. The complete older tracker attachment corpus has not been audited.
Each candidate is an exact committed fork diff, including tests and other files changed in that commit. Its own parent SHA is recorded in the topic README and candidate manifest. These are review material, not an ordered patch series that applies to clean SVN. Adapt them to current SVN, resolve dependencies, compare existing submissions, and perform the project's baseline/fixed ASan and TestAPI checks before calling a candidate ready for submission. Existing author and reporter credits are retained in source and the provenance manifest; no new attribution is added.
| Priority / type | What it fixes or adds / local patch folder | Fork evidence | Submission check |
|---|---|---|---|
| High | PICT row unpacking, PackBits writes and palette bounds | 1824832, 051e9da, a3eb964 | No matching own ticket found. Earlier #161 also proposes a PICT palette bound; compare before submitting. |
| High | Clip GIF playback frames and disposal clears to the logical screen (CVE-2026-118753) | 0da5ddb | No matching own ticket found. Preserve reporter credit and compare historical GIF patches. |
| High | Bound TARGA RLE packets by image rows; handle unaligned and short cache reads | 2124a26 | Follow-up missing from our #177 attachment; that earlier patch only widens the minimum cache. |
| High | Overflow-safe BMP RLE4 pixel counts and 32-bit allocation arithmetic (CVE-2023-47994) | a8c20af, 5be4529 | No matching own ticket found; separate from BMP compatibility submissions #188/#189. |
| High | Reject signed BMP RLE cursor wrap before a subsequent write (GHSA-7pp5-4w3w-437c) | f89723b | No matching own ticket found; separate from #188/#189 and RLE4 allocation fixes. |
| High | Prevent read/write byte-count wrap and write-end overflow near INT_MAX | 7f93bf8, 23ea250, d1439d0 | No matching own ticket found. Earlier #149 concerns seek-position narrowing, not these size/count and write-end changes. |
| High | Reject oversized ICOs and handle TIFF/JPEG sampling-factor mismatches safely | 23f4c9a, 4c7b7cb | No matching own ticket found. ICO checks extend #170; TIFF changes require the matching libtiff baseline. |
| High | Reject failed, empty or backwards JP2/J2K input stream length probes | 949cb9e | No matching own ticket found. This extends stream handling beyond #176; compare the J2KHelper replacement in #143. |
| Check overlap | Return safely when a RAS palette allocation is unavailable | 8445931 | Earlier #163 already submits a palette-pointer check from another contributor; do not claim this is new without comparison. |
| Medium | Keep built-in format IDs stable when optional codecs are disabled | abf026e | No matching own ticket found. |
| Medium | Use thread-local buffers for FreeImage_TagToString formatting | 735872d | No matching own ticket found; review supported compiler/thread-local requirements. |
| Medium | Cache sequential GIF playback state and provide a build option | 8395cea, df001b9 | No matching own ticket found. Earlier #92 also improves sequential playback; compare behavior and cache ownership. |
| Medium | Add CR3/X3F format recognition and correct CR3 detection | 16750c6, 6694722 | No matching own ticket found; requires the newer LibRaw integration. Retain the original contributor credits. |
| Medium | Avoid the INT64 macro/typedef collision in the RAW plugin | a0bc57c | No matching own ticket found; check whether #195 already carries equivalent integration. |
| Medium | Unicode single-image fixes and Windows Unicode multipage/cache paths | 2058ef8, a03ea3d, bcec225 | No matching recent own ticket found; compare historical #96/#115 before resubmitting older hunks. |
| Medium | Stage file saves and preserve the destination on encode/close failure | 0bd0771, d505799 | No matching own ticket found; changes replacement semantics and needs platform review. |
| Medium | Convert double grayscale to RGBF while handling negative and non-finite input | 1b476e1 | No matching own ticket found; compare historical float conversion proposal #150. |
| Feature | Add separate 64-bit TIFF input callbacks and APIs while preserving existing plugin ABI | c0753bb, 6868bc4 | No matching own ticket found; public API feature, requires ABI and large-file validation. |
| Feature | Strip auxiliary metadata on load/save or existing images; allow compiling the feature out | d6f1f93, 3064322 | No matching own ticket found; public flags/API and codec integration need review. |
| Feature | Expose linked dependency versions and bundled/system provenance | 4f391e6 | No matching own ticket found; public API feature. |
| Feature | Expose channel counts for bitmap and typed image formats | c9bc3f2 | No matching own ticket found; public API feature. |
| Feature | Finite min/max queries, extended histograms and simple tone mapping | 9da988e | No matching own ticket found; public API feature. |
| Feature | Optional HEIF/AVIF still-image decoding/encoding, EXIF/ICC and thumbnails | cce5cad, 360c5f5, 8d2f56f, dd0e629 | No matching own ticket found. Earlier #137 proposes a different AVIF plugin; backend/build integration is required. |
| Feature | Optional JPEG XL still-image decoding/encoding and read-only build switch | a376d9b, 7d6ee93 | No matching own ticket found; depends on libjxl and separate build integration. |
| Build | Use portable fixed-width public types with MSVC 2013 and newer | cdaa932 | No matching own ticket found. |
| Build | Fix JPEG XR SAL annotations, missing sources, MinGW headers and non-Windows declarations | fad7934, e8003f9, cde9a94, 30ed59f | No matching recent own ticket found. Compare #96/#115; diagnostics commit also contains tests and examples. |
| Build | Publish consumer includes/static defines, Windows DLL exports, install components and shared versions | ba2d5be, 8741e50, 8e67a64, b4531e4 | No matching own ticket found; compare independent CMake proposal #141. |
| Build | Unbundle dependencies and repair PNG/zlib overrides, system OpenJPEG imports and Imath includes | 10c850e, 128b715, e33c25c, 627ab4e, 5a6ab5d | No matching own ticket found; integration spans multiple codecs and newer vendor APIs. |
| Build | Select the MSVC dynamic or static runtime through CMake | 4c44acd | No matching own ticket found; applies to the fork CMake build. |
| Build | Build bundled LibRaw by default and avoid dllimport on bundled sources | ad71150, 855fe4e | No matching own ticket found; compare build adaptations already bundled into #195. |
| Build | Avoid aligned vector stack spills in bundled codecs with MinGW GCC | 903e9c7 | No matching own ticket found; applies to the fork bundled-codec CMake integration. |
| Vendor | Update LibRaw 0.22.2 to 0.22.3 with decoder hardening | a13c585 | Later than submitted #195 (0.22.2); prepare an SVN follow-up retaining integration adaptations. |
| Vendor | Update OpenEXR 3.5.2 to 3.5.3 for malformed-file and codec fixes | 90bbeca | Later than submitted #197 (3.5.2); requires that vendor series and adaptation to SVN build files. |
| Vendor | Update OpenJPH 0.32.0 to 0.33.0, including one-row allocation and NLT checks | 8dd7c48 | Later than submitted #197; requires the corresponding OpenEXR/OpenJPH source baseline. |
There are 34 focused topics and 62 candidate patch files. This is a curated source/build list, not a declaration that all fork differences belong upstream. The complete 320-commit inventory retains the rest for follow-up.
These larger integrations are linked for review rather than bundled as additional multi-megabyte source-archive patches:
| Work | Fork evidence | Why it remains separate |
|---|---|---|
| Offline bundled HEIF/JPEG XL codecs and dependencies | d122421, later source-archive updates in the commit inventory | Requires new source archives, build integration, licenses and codec-version policy; optional codec source exports above do not include this infrastructure. |
| HEIF 1.23.7, Brotli 1.2.1, Little CMS 2.20 and libaom 3.15.3 updates | 47fda0a, 87c5878, 7096f98, edc67fd | These update the optional bundled-codec integration; they are not updates to the vendor libraries in submitted #190–197. |
| Python/NumPy package | d44caaf, e70b7c5 | New package/binding surface and ownership; no matching own ticket identified. |
| Installable Linux packages and release publishing | f4cf855 and later packaging commits | Fork release/CI integration; select portable pieces before proposing upstream. |
| CMake Visual Studio generators, portable combined solution and ARM64X | cfa2382, 010ee0a, 21a23aa and later Windows/CI commits | Build-system design changes; compare earlier #141 and agree scope before preparing an SVN series. |
Use the ticket number as the stable submitted-artifact directory. Preserve downloaded bytes and compressed formats; add an attachment URL, size and hash to the manifest. Record a new ticket only after submission, and an SVN revision only after verifying application. Candidate patch exports must always identify the exact fork commit and parent, plus whether they are adapted and validated for SVN.
No tickets, comments, attachments or other remote changes were posted while creating this archive. Archive validation covers hashes, gzip/ZIP integrity, patch parsing (with the documented #190 formatting exception), exact equality with the recorded Git diffs and local Markdown links. It does not repeat sanitizer builds or prove SVN application.