Skip to content

Winclipper 1.5.0

Choose a tag to compare

@tomcek42 tomcek42 released this 11 Oct 07:04
· 58 commits to master since this release

Security

  • F1 Fixed a heap over-read when loading cached bitmaps; every header field is now checked against the file size.
  • F2 clips.dat and BitmapCache\ are encrypted with DPAPI (bound to the current user). Plaintext files from
    older versions are migrated at startup. Thumbnails are kept in memory only; old -thumb BMP files are deleted.
  • F3 File::Delete reported success inverted.
  • F4 File::DeleteDir was missing the double NUL terminator.
  • F5 Fixed data races in the bitmap cache, the writer threads and ClipsCollection (mutex/atomics);
    fixed a use-after-free in the asynchronous bitmap loader.
  • F6 Undefined behavior in File::JoinPath with an empty string.
  • F7 An invalid settings.dat no longer aborts startup.
  • F8 Removed the original author's auto-updater (unsigned MSI downloads). Own UpgradeCodes; upstream
    installations are removed during setup.
  • F9 CF_DIB clipboard data is fully validated against the block size (over-read/overflow).
  • F10 CF_UNICODETEXT is read bounded by the block size.
  • F11 Right-click "Delete" in the menu deletes the correct clip and no longer crashes.
  • F12 Registry values are read with type and size checks (RegGetValueW).
  • F13 Autostart path is quoted (settings and installer); registry return values are checked.
  • F14 Content marked as excluded from clipboard history (e.g. passwords from password managers) is ignored.

Bug fixes

  • The tray icon is removed on exit.

Build

  • Toolset v145, Windows SDK 10.0.26100.0, statically linked CRT (/MT); no VC++ redistributable required.
  • Replaced the original author's hard-coded include path.
  • Installers migrated to WiX 7 (SDK projects, dotnet build); removed the VC141 merge modules and the WiX 3.11 package.
  • Setup projects registered in Winclipper.sln with the WiX SDK project type; a full .sln build also builds the MSI.

SHA-256

dbbdeae062ce2958712fc62d95ebd478311547775426d802fb3a563bd111f5c6 *WinclipperSetup-x64.msi
57bad914134c31e48f79630e87f2addc7d5c44747774cf3545400f1f66877f5f *WinclipperSetup-x86.msi