[mythtv-commits] [MythTV/mythtv] 6420bf: Fix LoadSubtitles when using Qt in the range [6.0, ...

David Hampton noreply at github.com
Wed Jul 12 13:52:50 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 6420bfa5c9d7b624bbe4e68fea9ed3dc18171568
      https://github.com/MythTV/mythtv/commit/6420bfa5c9d7b624bbe4e68fea9ed3dc18171568
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp

  Log Message:
  -----------
  Fix LoadSubtitles when using Qt in the range [6.0, 6.3).


  Commit: cbf1baa3812b0fdf2c28492298094fc4a82beb69
      https://github.com/MythTV/mythtv/commit/cbf1baa3812b0fdf2c28492298094fc4a82beb69
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mythtv/programs/mythcommflag/BlankFrameDetector.cpp

  Log Message:
  -----------
  Fix potential null pointer dereferences in BlankFrameDetector.

The iterator returned from find() is validated all of the other places
it is called. Add validation for these two calls as well.


  Commit: 0a5d42e9e8699f198692241f80812e03aa28f932
      https://github.com/MythTV/mythtv/commit/0a5d42e9e8699f198692241f80812e03aa28f932
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp

  Log Message:
  -----------
  Fix potential null pointer dereferences in HLSRingBuffer::SanitizeStreams.


  Commit: d9f9f803b93ecff2be99b0b82b8929b72b1da04f
      https://github.com/MythTV/mythtv/commit/d9f9f803b93ecff2be99b0b82b8929b72b1da04f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mythtv/programs/mythfrontend/viewscheduled.cpp

  Log Message:
  -----------
  Fix potential null pointer dereferences in ViewScheduled.

It shouldn't be possible to get a nullptr in one of the recording
lists, but it if happens the frontend will crash.  Add two nullptr
checks to prevent crashing.


  Commit: 56611207f15e8af0ab3fce209d6fe26300526c37
      https://github.com/MythTV/mythtv/commit/56611207f15e8af0ab3fce209d6fe26300526c37
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mythtv/programs/mythfrontend/prevreclist.cpp

  Log Message:
  -----------
  Fix two potential null pointer dereferences in prevreclist.cpp.

It shouldn't be possible for a nullptr to end up in the m_titleData
array, but adding two nullptr checks will prevent crashing if it does.


  Commit: 75cc868a7c872b67204375edf44e73de8e378f7a
      https://github.com/MythTV/mythtv/commit/75cc868a7c872b67204375edf44e73de8e378f7a
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mythtv/libs/libmythmetadata/videometadatalistmanager.cpp
    M mythtv/libs/libmythmetadata/videometadatalistmanager.h

  Log Message:
  -----------
  Fix potential null pointer dereferences in videometadatalistmanager.


  Commit: d433ca77901e593a1d5162c11bb51ac05dab896d
      https://github.com/MythTV/mythtv/commit/d433ca77901e593a1d5162c11bb51ac05dab896d
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mythtv/libs/libmythtv/tv_play.cpp

  Log Message:
  -----------
  Fix potential null pointer dereference in tv_play.cpp.

It shouldn't be possible for a nullptr to end up in a ProgramList
array, but adding a nullptr checks will prevent crashing if it does.


  Commit: 6139b0c9f141e37a11bb391a114ee6419169d044
      https://github.com/MythTV/mythtv/commit/6139b0c9f141e37a11bb391a114ee6419169d044
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mythtv/libs/libmythmetadata/videometadatalistmanager.cpp
    M mythtv/libs/libmythmetadata/videometadatalistmanager.h
    M mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/programs/mythcommflag/BlankFrameDetector.cpp
    M mythtv/programs/mythfrontend/prevreclist.cpp
    M mythtv/programs/mythfrontend/viewscheduled.cpp

  Log Message:
  -----------
  Fix some potential null pointer dereferences.


Compare: https://github.com/MythTV/mythtv/compare/f52065187285...6139b0c9f141


More information about the mythtv-commits mailing list