[mythtv-commits] Ticket #6725: segmentation fault in mythbackend

MythTV mythtv at cvs.mythtv.org
Thu Jul 16 20:30:26 UTC 2009


#6725: segmentation fault in mythbackend
-------------------------------------------+--------------------------------
 Reporter:  Simon Kenyon <simon at koala.ie>  |        Owner:  danielk       
     Type:  defect                         |       Status:  infoneeded_new
 Priority:  minor                          |    Milestone:  0.22          
Component:  MythTV - DVB/ATSC              |      Version:  head          
 Severity:  medium                         |   Resolution:                
  Mlocked:  0                              |  
-------------------------------------------+--------------------------------
Changes (by stuartm):

  * status:  new => infoneeded_new


Comment:

 {{{
 Index: mythtv/programs/mythbackend/playbacksock.cpp
 ===================================================================
 --- mythtv/programs/mythbackend/playbacksock.cpp        (revision 20919)
 +++ mythtv/programs/mythbackend/playbacksock.cpp        (working copy)
 @@ -289,8 +289,13 @@
                  " gave us no response.");
      }

 +    bool state = false;
 +
 +    if (!strlist.isEmpty())
 +    {
      QStringList::const_iterator it = strlist.begin();
 -    bool state = (*it).toInt();
 +        state = (*it).toInt();
 +
      if (busy_input)
      {
          it++;
 @@ -302,6 +307,7 @@
              state = false; // pretend it's not busy if we can't parse
 response
          }
      }
 +    }

      return state;
  }

 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6725#comment:10>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list