Skip to content

v1.0.3 - Expanded file type support, hardened code, fixed bugs

Latest

Choose a tag to compare

@iamarxs iamarxs released this 15 Nov 21:37
· 1 commit to main since this release

Added support for:

  • EXR
  • Farbfeld
  • APNG
  • animated-WebP

Hardened code against crafted files that could otherwise crash the app or slow the system.

Fixed:

  • Single-frame GIF/PNG/WebP are no longer decoded twice on navigation
  • Two or more drag-and-dropped playlists caused a "Skipped X unsupported images" error. Now all playlists are read properly. Drag-and-dropped playlists in main view clears the current playlist, in playlist view appends to the current one.

Security/robustness:

  • Cap decoders at 16384px per side and 512 MiB (limits()/check_dimensions in decode.rs, still path and all three animation decoders) so a crafted header can't trigger a multi-GB allocation/abort; zero-dimension files are rejected, which also fixes a clipboard panic on 0-width images
  • Unreadable files stay in the playlist with a notice carrying the decode error, instead of being silently removed (and dropped from saved playlists)
  • Clamp PanSpeed to 1..=1000 and use saturating adds for the pan offset (config-driven overflow could panic in the window procedure)
  • Stop a running slideshow when the playlist becomes empty

Verification: cargo build --locked 0 warnings, cargo test 99 passed; independent read-only review of the fixes found no regressions.