Skip to content

Latest commit

 

History

History
355 lines (325 loc) · 37.3 KB

SOURCEFORGE_SVN_PATCHES.md

File metadata and controls

355 lines (325 loc) · 37.3 KB

SourceForge SVN patch submissions

Last checked: 2026-11-05, using the public SourceForge REST API.

The local patch archive and current candidate table contains all 29 original attachments from our #115 and #170–197 submissions, ticket metadata, SHA-256 checksums, and patches exported from committed fork changes that need submission review. Tickets #96 and #198 have no uploaded attachments; exports of their linked commits are provided separately and marked as local supplements.

This index links the FreeImage fork's recorded submissions to the original FreeImage project on SourceForge. The patch tracker is the submission venue; the SVN repository is where an accepted change would land.

There are 28 recent submissions with patch attachments (#170–197), including the superseded #183 archive. A further submission ticket, #198, links to fixes but currently has no patch attachment. Historical #115 adds one more attached submission; #96 links to its original commit. The complete tracker contains 197 tickets, all linked in the appendix below.

The attachment links below were read from the live ticket API. All tickets #170–198 returned an unspecified status. Submission or an attached patch does not establish that a change was applied to SVN; no SVN acceptance revision has been verified for this index. Tickets #170–173 list their reporter as anonymous; the others in this recent series list danoli3.

SVN trunk still reports r1911, last changed on 2024-04-18. The fork review baseline for the current candidate inventory is origin/master at f376729ec99dcb00f93d32e3ee26aaffdc55f4d8 (FreeImage 3.19.31).

Historical submissions

Ticket What it changes Local artifact Tracker state
#96 iOS/ARM64 build fixes for the older FreeImage tree Linked commit export; no uploaded attachment Closed; SVN acceptance revision not established; updated by #115
#115 FreeImage 3.17.0 iOS/macOS, arm64/x86_64, tvOS, build lists and vendor compatibility fixes FreeImage3.17.0.patch Open; historical patch

Security and dependency submissions (#170–183)

Ticket Submitted change Patch download Fork reference Local copy
#170 CVE-2020-24292: reject illegal ICO BITMAPINFOHEADER bpp/size CVE-2020-24292.patch pull 108 file
#171 CVE-2020-24293: bound psdThumbnail::Read packed-row copy CVE-2020-24293.patch pull 109 file
#172 CVE-2020-24295: bound psdParser::ReadImageLine destination writes CVE-2020-24295.patch pull 110 file
#173 CVE-2020-22524: fix PFM integer overflow in line buffer allocation CVE-2020-22524.patch commit 668385e5, pull 56 file
#174 CVE-2020-24294 / CVE-2024-28565: clamp psdParser::UnpackRLE src and dst CVE-2020-24294.patch commit 62971de, pull 54 file
#175 CVE-2024-28579 / CVE-2024-28582: reject overflowing HDR RLE scanline counts CVE-2024-28579.patch commit d866b72, pull 55 file
#176 CVE-2024-28584: NULL-check JPEG2000 image after opj_read_header CVE-2024-28584.patch commit 9286f7f, pull 53 file
#177 CVE-2024-28581: TARGA RLE IOCache at least one pixel wide CVE-2024-28581.patch commit 68af81b, pull 39 file
#178 CVE-2024-28567: re-fetch TIFF ICC pointer after ExifIFD switch CVE-2024-28567.patch commit ce6fe58, pull 79 file
#179 CVE-2021-33367: bound Exif 0th-IFD next-offset read CVE-2021-33367.patch commit 5e1e391 file
#180 CVE-2024-28568/9029/28570/28573/28577/28578/28580: IPTC/Exif/XPM/RAS OOB CVE-2024-28568.patch commit d474400, pull 96 file
#181 CVE-2024-28566/28571/28572/28583: TIFF AssignPixel, JPEG src, MakerNote, XBM CVE-2024-28566.patch commit 8ebe8e5, pull 99 file
#182 CVE-2024-28574/28575/28576: replace bundled OpenJPEG 2.0.0 with 2.5.4 CVE-2024-28574.patch.gz commit 229de19, pull 68 file
#183 CVE-2024-28562/28563/28564/28569: replace bundled OpenEXR 2.2 with 3.3.13 Superseded by #197. CVE-2024-28562.patch.gz commit 248c6c9, pull 69 file

Loader and pixel-conversion submissions (#184–189)

Ticket Submitted change Patch download Fork reference Local copy
#184 Prevent scanline pointer underflow in CUT RLE decoding cut-rle-bounds-submission.zip commit 9d62eb2 file
#185 Reject three-plane PCX images with insufficient bytes per plane pcx-plane-width-submission.zip commit a4473a4 file
#186 Preserve DDS DXT dimensions and decode trailing partial blocks dds-partial-blocks-submission.zip commit bf820dc file
#187 Select RGB565 conversion using the distinguishing green mask rgb565-conversion-submission.zip commit 1a9ccb5 file
#188 Accept BMP information-header sizes already handled by the loader bmp-extended-headers-submission.zip commit 7646cfe file
#189 Accept trailing BMP RLE8 end-of-bitmap after the final end-of-line bmp-rle8-terminator-submission.zip commit b9c6227 file

SVN vendor/build follow-ups (#190–197)

Ticket Submitted change Patch download Fork reference Local copy
#190 Complete the OpenJPEG 2.5.4 Windows project source list (follow-up to #182) openjpeg-2.5.4-project.patch.gz See ticket file
#191 Update bundled zlib from 1.2.13 to 1.3.2 zlib-1.3.2.patch.gz See ticket file
#192 Update bundled libpng from 1.6.39 to 1.6.59 libpng-1.6.59.patch.gz See ticket file
#193 Update bundled WebP from 1.2.1 to 1.6.0 webp-1.6.0.patch.gz See ticket file
#194 Update bundled libtiff from 4.5.0 to 4.7.2 libtiff-4.7.2.patch.gz See ticket file
#195 Update bundled LibRawLite from 0.21.1 to 0.22.2 libraw-0.22.2.patch.gz See ticket file
#196 Update bundled IJG JPEG from 9d to 10.0 jpeg-10.0.patch.gz See ticket file
#197 Replace #183 with OpenEXR 3.5.2, Imath 3.2.3 and libdeflate 1.26 openexr-3.5.2.patch.gz See ticket file

Patch dependencies and replacements

  • #169 is an accidental empty ICO ticket, replaced by #170. It is listed in the full inventory for completeness, and excluded from the 28 attached submissions.
  • Apply #179 before the later Exif changes, #180 before #181, and #178 before #181's TIFF changes, as recorded in the original submission series.
  • The vendor series targets SVN trunk r1911. Apply #182 first, then #190, #191, #192, #193, #194, #195, #196 and #197 in order; shared build files make these dependent patches.
  • #197 replaces #183. Use #197 instead of #183; do not apply both. #190 supplements #182 with its Windows project source list.
  • For the vendor .patch.gz files, decompress and follow the ticket's patch --dry-run -E -p0 / patch -E -p0 instructions from the tree root. ZIP submissions include their own patch and validation notes.
  • #190's original decompressed patch lacks a final newline and fails strict Git patch parsing. The original is retained unchanged; a separately labelled local companion appends exactly one LF byte and passes parsing. It has not been uploaded.

Follow-up ticket without a patch attachment

#198: Harden RAS and IFF PBM RLE image decoders was created on 2026-10-17 by danoli3. It links RAS dimension/allocation hardening and IFF PBM RLE bounds, short-read and no-op handling to fork commits:

The live API returned no attachment for #198 on the check date, so it is recorded as a ticket with source links rather than a downloadable patch. The local linked-commit exports are supplements, not submitted attachments. The RAS change already overlaps #180.

Changes needing submission review

The current candidate table includes local patches for later security fixes, core behavior, new APIs and build changes, with original commit and parent references. High-priority items include GIF frame bounds, TARGA RLE bounds, BMP RLE4 arithmetic and cursor overflow, memory-stream byte counts/write bounds, oversized ICOs, TIFF/JPEG sampling mismatch handling, and JP2/J2K callback validation.

These are committed fork diffs for review, not a series validated against clean SVN. Related historical patches (including #92, #143, #149, #161 and #163) must be compared before claiming a new submission is needed.

Downloaded vendor snapshots already contain Android OpenEXR allocation, strict-C11 libdeflate Linux ARM declarations, and WebP/libdeflate ARM64EC guards (#193/#197). Those fixes should not be submitted again separately. The complete fork commit inventory also records changes outside the focused candidate selection.

Complete SourceForge patch tracker index

All 197 tickets returned by the two live index pages, newest number first. This includes other contributors' submissions, closed historical tickets, superseded submissions and empty stubs. A row establishes that the ticket exists; attachment contents and SVN application were not audited for the historical entries in this appendix.

Ticket Submitted subject
#198 Harden RAS and IFF PBM RLE image decoders
#197 Replace #183 with OpenEXR 3.5.2, Imath 3.2.3 and libdeflate 1.26
#196 Update bundled IJG JPEG from 9d to 10.0
#195 Update bundled LibRawLite from 0.21.1 to 0.22.2
#194 Update bundled libtiff from 4.5.0 to 4.7.2
#193 Update bundled WebP from 1.2.1 to 1.6.0
#192 Update bundled libpng from 1.6.39 to 1.6.59
#191 Update bundled zlib from 1.2.13 to 1.3.2
#190 Complete the OpenJPEG 2.5.4 Windows project source list (follow-up to #182)
#189 Accept trailing BMP RLE8 end-of-bitmap after the final end-of-line
#188 Accept BMP information-header sizes already handled by the loader
#187 Select RGB565 conversion using the distinguishing green mask
#186 Preserve DDS DXT dimensions and decode trailing partial blocks
#185 Reject three-plane PCX images with insufficient bytes per plane
#184 Prevent scanline pointer underflow in CUT RLE decoding
#183 CVE-2024-28562/28563/28564/28569: replace bundled OpenEXR 2.2 with 3.3.13
#182 CVE-2024-28574/28575/28576: replace bundled OpenJPEG 2.0.0 with 2.5.4
#181 CVE-2024-28566/28571/28572/28583: TIFF AssignPixel, JPEG src, MakerNote, XBM
#180 CVE-2024-28568/9029/28570/28573/28577/28578/28580: IPTC/Exif/XPM/RAS OOB
#179 CVE-2021-33367: bound Exif 0th-IFD next-offset read
#178 CVE-2024-28567: re-fetch TIFF ICC pointer after ExifIFD switch
#177 CVE-2024-28581: TARGA RLE IOCache at least one pixel wide
#176 CVE-2024-28584: NULL-check JPEG2000 image after opj_read_header
#175 CVE-2024-28579 / CVE-2024-28582: reject overflowing HDR RLE scanline counts
#174 CVE-2020-24294 / CVE-2024-28565: clamp psdParser::UnpackRLE src and dst
#173 CVE-2020-22524: fix PFM integer overflow in line buffer allocation
#172 CVE-2020-24295: bound psdParser::ReadImageLine destination writes
#171 CVE-2020-24293: bound psdThumbnail::Read packed-row copy
#170 CVE-2020-24292: reject illegal ICO BITMAPINFOHEADER bpp/size
#169 CVE-2020-24292: reject illegal ICO BITMAPINFOHEADER bpp/size
#168 Any chance for a WinARM64 build of FreeImage.dll?
#167 FreeImage 3.18.0 Canon MakerNote out-of-bounds read
#166 FreeImage_Save fails to save in DDS file format
#165 Fix for #362 (CVE-2023-47997)
#164 Fix for #360 (CVE-2023-47995)
#163 Add palette pointer check in PluginRAS.cpp
#162 Add check for psd file channels.
#161 Two patch fix out of bounds.
#160 Limit input psd image color depth.
#159 psdParser::UnpackRLE() memory out of bounds.
#158 Numeric Trunctation at misc_parsers.cpp:257
#157 Fix integer wrap around and segmentation fault in Exif.cpp
#156 Fixed some issues with the EXR file reading
#155 Bump LibRaw version
#154 Fix out of bounds read in PluginBMP
#153 patch for building 3.18.0 on big-endian hosts
#152 Bugfix for #346 - Fix heap corruption when reading TIFFTAG_RICHTIFFIPTC
#151 Updates OpenEXR to version 3.1.3
#150 Avoids clamping to [0..1] when converting bitmaps from one Float format to another
#149 Fix 5 crashes revealed by oss-fuzz
#148 Bugfix for #340 (Calling FreeImage_Paste fails on very large images)
#147 Bugfix for #339
#146 RAII for easier memory management
#145 Build patches used in homebrew
#144 E2K: fixed build by MCST lcc compiler (MCST Elbrus 2000 architecture)
#143 Bugfix for #299,#303,#304,#305,#308,#309,#310, #320
#142 Bugfix for bugs #306 #307 as well as problem from patch #139
#141 CMake support patch
#140 Few patches from vspkg
#139 Solve the problem of PluginTARGA
#138 TIFF Deflate compression fixes
#137 New format AVIF (AV1 Image File)
#136 Implement TFreeWinBitmap.Draw with a custom source rectangle.
#135 fix big endian builds
#134 FreeImage_LoadFromMemory is unnecessarily slow
#133 Need an extra EXIF tag for TIFF
#132 Additional RAW metadata
#131 Tiff embedded icc profiles are overwritten before use
#130 freeimage fails to build against jpeg-9c
#129 Error-checking is lacking
#128 Add const-poisoning
#127 Fixed strange error handling in PNG plugin
#126 Visual Studio 2015 project files
#125 Additional FIF_RAW Flags
#124 Delphi 10.1 Berlin support for wrapper
#123 Bugfix: Tiff thumbnails fails to load if exif is present
#122 Refactor: Streamline MultiPage and CacheFile
#121 PluginDDS Bug Fix
#120 Bugfix: Image View broken save as BMP
#119 Bugfix: Cloned bitmap "view" still points to original external bitmap
#118 Bugfix: ColorType is incorrect for 16bit CMYK
#117 Bugfix: Color Profile is actually still there
#116 Jpeg CMYK Save support
#115 Fixes for FreeImage - iOS, OSX, arm64 and x86_64
#114 OS X 10.11.3, make is not working.
#113 Delphi Wrapper updated for 3.18.0 / Seattle
#112 Wrong colors in PNG image
#111 PSD write support
#110 fixes for GCC 5.0
#109 Delphi wrapper 3.17.0 update
#108 Visual Studio 2015 supports snprintf
#107 FreeImage_ConvertToRawBits support for transparency from palletized to 32bit
#106 Compile FreeImage on Mac OSX 10.10 Yosemite
#105 Minor bug in several Makefiles
#104 New function: FreeImage_RescaleEx
#103 Fixed PNG plugin handling of 24-bit RGB + tRNS chunk images
#102 Fixed PNG plugin handling of 16-bit grayscale + 16-bit alpha images
#101 New function: FreeImage_ConvertToRGBAF
#100 New function: FreeImage_GetMemorySize
#99 New Lossless Fast Pseudo-Quantization algorithm
#98 New function: FreeImage_CreateView
#97 Explicit definition of endianness and color order
#96 Fixes for FreeImage - iOS and arm64
#95 Infinite Loop Determining File Type for Truncated ANI (RIFF)
#93 Segfault on Corrupt Animated GIF
#92 Increase Speed of GIF_PLAYBACK Successive Frames
#91 Delphi wrapper version 3.16.1
#90 Patch overflow bug on CalculateScanline
#89 FreeImage CompileTime Configuration Support
#88 Massively improved JPEG Transform
#87 NetBSD and memalign
#86 Create image from user bits without copy of pixel data
#85 Minor issues in Resize resulting in lost performance
#84 Recognize rgb as valid SGI files
#83 Delphi wrapper update
#82 TGA file read failure on valid TGA file
#81 include memset.h for ImfAutoArray.h for G++
#80 include string.h for memset
#79 Visual Studio 2012 Solution supporting batch builds
#78 Suggested changes for Plugin.cpp
#77 delphi wrapper 3.15.3
#76 Override builtin Plugins with a Local (or external) one
#75 add missing headers for mingw
#74 Use correct mime for file types
#73 EXIF_MAIN write support for PluginTIFF
#72 io.h to asm/io.h
#71 libjpeg-turbo for Linux
#70 tiff without samplesperpixel or bitspersample
#69 Update Delphi Wrapper for 64 bit
#68 Add half size flag to raw decoding
#67 update Delphi wrapper for 3.15.0
#66 little update for delphi examples
#65 Callbacks support
#64 delphi wrapper update 3.14.1
#63 fix missing header
#62 Read 16 bit BMPs Correctly
#61 32 and 24 bit conversion enhancements
#60 Fix leaks in FreeImage_OpenMultiBitmapFromHandle()
#59 Several bugs in FreeImage_CloseMultiBitmap()
#58 Fix lots of leaks in FreeImage_OpenMultiBitmap()
#57 FreeImage_GetOriginalBPP
#56 Thumbnail support
#55 delphi wrapper update
#54 FreeImage_CloseMultiBitmap() without saving to file
#53 Fix TIFFSetField call for TIFFTAG_PAGENUMBER
#52 Extended Tiff Plugin
#51 VS2005 x64 sln and prj update
#50 Refactored PSD image data loading
#49 FreeImage_CloseMultiBitmap() without saving to file
#48 Support for additional channels (beyond RGBA)
#47 Fix for unnecessary EXR loading limitation
#46 Updated Example for Linux
#45 FreeImage_ConvertTo32Bits performance hit
#44 fix for PluginGIF saving corrupeted image (test image)
#43 JPEG plugin standard optimized encoding support
#42 JPG plugin comment storing improvements
#41 fix for PluginGIF saving corrupeted image
#40 Refactoring TARGA plugin (cont)
#39 Don't use libmng_data.h
#38 Quickie to extract first frame of MNG
#37 [TGA]Corrupt rle count fix
#36 Quickie to extract first frame of MNG
#35 Quickie to extract first frame of MNG
#34 Quickie to extract first frame of MNG
#33 Quickie to extract first frame of MNG
#32 Crash on corrupted tags
#31 Addition of FreeImage_LoadHeader function group
#30 VS 2008 and X64 Windows builds
#29 Background filling routines patch
#28 Fixed some typos in README.minGW
#27 Fixed some typos in README.minGW
#26 Macro DEPRECATE fails on x64
#25 MinGW Makefile
#24 New 'monochrome' function fixes ConvertToStandardType and...
#23 Reinhard05 fix-up
#22 Open multipage bitmap from handle
#21 Refactoring TARGA plugin
#20 [PATCH] JPEG rotate_exif bugs Version 3.12.0
#19 fix for PluginBMP alignment bug while saving 16 or 24bit BMP
#18 Patch to allow x64 build
#17 Upgrade to VS2008
#16 [PATCH] Fix handling of frame disposal in GIF_PLAYBACK mode
#15 Added support for SGI Grayscale + Alpha pics
#14 added PNG Interlacing and compression support
#13 Fix : SGI files with 2 dimesions crash
#12 Fix and clean OSX makefile
#11 VC8 compatibility latest CVS
#10 linux fixes
#9 Fix for Bug in PluginGIF.cpp
#8 FreeImagePlus const correctness, fipMemoryIO copy bug
#7 DDS patch for bad DDS files
#6 SGI plugin
#5 dds memory leak
#4 DDS crash fix - FreeImag 3.8.0
#3 Cygwin Makefile
#2 fipImage construction bug
#1 FloydSteinberg memory leak

Maintaining this index

For each new submission, add its SourceForge ticket, attachment URL, fork PR/commit and any prerequisite or replacement relationship. Keep tickets without attachments distinct from downloadable patches. Record an SVN revision and verify the corresponding source change before marking a patch as applied upstream. Refresh the full inventory and check date from every page of the live API, rather than relying on the default HTML tracker view.