[mythtv-commits] [MythTV/mythtv] af6f36: EXIF tag 0x9286 UserComment can contain garbage

kmdewaal noreply at github.com
Sat Nov 25 21:39:31 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: af6f362a140cd59b9ed784a8c639fd456b5f6967
      https://github.com/MythTV/mythtv/commit/af6f362a140cd59b9ed784a8c639fd456b5f6967
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2023-11-25 (Sat, 25 Nov 2023)

  Changed paths:
    M mythtv/programs/mythfrontend/galleryslideview.cpp
    M mythtv/programs/mythfrontend/gallerythumbview.cpp

  Log Message:
  -----------
  EXIF tag 0x9286 UserComment can contain garbage

In the photo gallery view and in the thumb view there can be
comment presented when present in the EXIF data.
On pictures made with a Samsung phone and with a Canon camera
the UserComment, as read with the EXIF library, can contain
non-printable characters with numeric value -1.
All non-printable characters are now removed from the UserComment
before the comment is presented.




More information about the mythtv-commits mailing list