[mythtv-commits] Ticket #9950: [PATCH] DownloadManager SEGV after timeout

MythTV noreply at mythtv.org
Thu Jul 28 13:30:15 UTC 2011


#9950: [PATCH] DownloadManager SEGV after timeout
-------------------------------------------------+-------------------------
 Reporter:  Lawrence Rust <lvr@…>                |          Owner:
     Type:  Patch - Bug Fix                      |  cpinkham
 Priority:  minor                                |         Status:  closed
Component:  MythTV - General                     |      Milestone:  0.25
 Severity:  medium                               |        Version:  Trunk
 Keywords:  DownloadManager SEGV                 |  Head
                                                 |     Resolution:  fixed
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
Changes (by Github):

 * status:  assigned => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.25


Comment:

 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.

 Closes #9950

 I'm leaving part 2 of #9950 uncommitted for now since we do
 not need or use this functionality internally.

 Signed-off-by: Chris Pinkham <cpinkham at mythtv.org>
  Branch:    master
  Changeset: db25a2885364d4d1b2198056f7a477f60cb395d6

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9950#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list