Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#12231 closed Patch - Bug Fix (fixed)

Patch to protected against (another) divide by zero. Fixes Coverity 746808

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

Description

In d61b5044c7f83ef55b155f90612e0a5d35348e38 an attempt was made to protect against a divide by zero. Unfortunately, the final "or" case in the if statement was not protected against. This patch will protect against a potential divide by zero.

Fixes Coverity 746808

github ref: https://github.com/garybuhrmaster/mythtv/commit/179c79dfe58edc9277fee210c3d40b0d44457e70

github git-am ref: https://github.com/garybuhrmaster/mythtv/commit/179c79dfe58edc9277fee210c3d40b0d44457e70.patch

Change History (3)

comment:1 Changed 11 years ago by stuartm

Owner: changed from cpinkham to stuartm
Status: newaccepted

comment:2 Changed 11 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Resolution: fixed
Status: acceptedclosed

In a1c0b2ad80684bc0f253bb584a4011ce684d9fa8/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:3 Changed 11 years ago by paulh

Milestone: unknown0.28
Note: See TracTickets for help on using tickets.