Opened 11 years ago

Closed 11 years ago

Last modified 11 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 Changed 11 years ago by stuartm

Owner: set to stuartm
Status: newaccepted

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

Resolution: fixed
Status: acceptedclosed

In 0dc5195cafc04b04183b49480a79e5573a834032/mythtv:

Check the return value from setsockopt and log errors

Fixes coverty 700269

Fixes #11611.

Signed-off-by: Paul Harrison <pharrison@…>

comment:3 Changed 11 years ago by paulh

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