Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#11611 closed Patch - Bug Fix (fixed)

Patch to check return value of setsockopt in mmulticastsocketdevice.cpp - fixes coverty 700269

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

Description

Static analysis (coverity) determined that the return value from a setsockopt call was not checked.

The patch checks the return value, and logs if an error occurs.

Fixes coverity 700269

github ref: https://github.com/garybuhrmaster/mythtv/commit/cd7813356b4d09d442c99812294cf0d0298236cb

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

Change History (3)

comment:1 by stuartm, 13 years ago

Owner: set to stuartm
Status: newaccepted

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

Resolution: fixed
Status: acceptedclosed

In 0dc5195cafc04b04183b49480a79e5573a834032/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:3 by paulh, 13 years ago

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