[mythtv-commits] Ticket #11592: Patch to correct check for null pointer from function in audiooutputpulse.cpp - fixes coverity 700280

MythTV noreply at mythtv.org
Tue Jun 11 05:26:50 UTC 2013


#11592: Patch to correct check for null pointer from function in
audiooutputpulse.cpp - fixes coverity 700280
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  jyavenard
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Patch - Bug Fix                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  Master Head
    Component:  MythTV - Audio Output            |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 In 1e1e550 code was added to call pa_channel_map_init_auto and check the
 result.  This patch corrects that check for a null pointer.

 Fixes coverity 700280 ("Operands don't affect result" because the previous
 comparison was always false)

 Patch:
 https://github.com/garybuhrmaster/mythtv/commit/78ddf38354312cdeecccd6030becb78b86b797bf.patch

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11592>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list