Opened 12 years ago

Closed 12 years ago

#12236 closed Patch - Bug Fix (fixed)

Patch to protect against potential divide by zero in audiooutputbase.cpp

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by: stuartm
Priority: minor Milestone: 0.28
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Static analysis (scan-build) reported a potential divide by zero in audiooutputbase.cpp. Protect against the possibility using the same construct used 16 lines earlier in the code to protect against the same divide by zero possibility.

github ref: https://github.com/garybuhrmaster/mythtv/commit/27be2356a55dda649050e360edfbcc5641527382 github git-am ref: https://github.com/garybuhrmaster/mythtv/commit/27be2356a55dda649050e360edfbcc5641527382.patch

Change History (2)

comment:1 by stuartm, 12 years ago

Milestone: unknown0.28
Owner: set to stuartm
Status: newaccepted

comment:2 by Gary Buhrmaster <gary.buhrmaster@…>, 12 years ago

Resolution: fixed
Status: acceptedclosed

In afadf3ce4c0a7dfd9570ee26a15a75c6927e86a8/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.