[mythtv-commits] Ticket #12233: Patch to check return values on seek - Fixes Coverity 746749 & 1073815
MythTV
noreply at mythtv.org
Sun Aug 3 19:55:50 UTC 2014
#12233: Patch to check return values on seek - Fixes Coverity 746749 & 1073815
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster | Owner:
<gary.buhrmaster@…> | Status: new
Type: Patch - Bug Fix | Milestone: unknown
Priority: minor | Version: Master Head
Component: MythTV - General | Keywords:
Severity: medium |
Ticket locked: 0 |
-------------------------------------------------+-------------------------
In libmythtv/ringbuffer.cpp Coverity reports two seeks with uncheck return
values. While the comment says the seek(s) can never fail, static
analysis suggests checking is goodness (and "impossible" failures do
occur). The included patch checks the return values, and logs an error if
the impossible occurs.
Fixes Coverity 746749 & 1073815
github ref:
https://github.com/garybuhrmaster/mythtv/commit/5a3992d3c0ed360edcb19fc7f5c53d8f06641804
github git-am ref:
https://github.com/garybuhrmaster/mythtv/commit/5a3992d3c0ed360edcb19fc7f5c53d8f06641804.patch
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12233>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list