[mythtv-commits] mythtv/fixes/0.24 commit: f7b28e57a by Lawrence Rust (no github username)

MythTV noreply at mythtv.org
Thu Dec 29 02:26:00 UTC 2011


      Author:  Lawrence Rust <lvr at softsystem.co.uk>
 Change Date:  2011-12-28T18:23:09-08:00
   Push Date:  2011/12/28 18:25:38 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  f7b28e57a9c5805befdf6538fb175124e0260ec2
   Changeset:  https://github.com/MythTV/mythtv/commit/f7b28e57a

Log:

Fix a potential segfault if MDM::downloadNow() times out.

Reset the destination QByteArray pointer after a download
timeout to make sure the downloadFinished() callback doesn't
try to write to it after it has been deallocated.

Refs #9950

Signed-off-by: Chris Pinkham <cpinkham at mythtv.org>
(cherry picked from commit db25a2885364d4d1b2198056f7a477f60cb395d6)

Modified:

   mythtv/libs/libmythdb/mythdownloadmanager.cpp



More information about the mythtv-commits mailing list