[mythtv-commits] Ticket #6083: Fix array derefernce in tmdb.pl when no cast information is returned

MythTV mythtv at cvs.mythtv.org
Wed Jan 7 01:31:46 UTC 2009


#6083: Fix array derefernce in tmdb.pl when no cast information is returned
-----------------------------------------+----------------------------------
 Reporter:  Stephen <stev391 at email.com>  |       Owner:  awithers
     Type:  defect                       |      Status:  new     
 Priority:  minor                        |   Milestone:  unknown 
Component:  mythvideo                    |     Version:  head    
 Severity:  medium                       |     Mlocked:  0       
-----------------------------------------+----------------------------------
 The following error occured when running tmdb.pl -D
 "Use of uninitialized value in array dereference at ./tmdb.pl line 142."

 This is due to the movie database not returning any cast information.  To
 fix this a simple 'if exists' is created around this section of code.

 See patch attached to fix this issue.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6083>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list