Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 10 months ago

Closed 10 months ago

Last modified 10 months 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

Attachments (0)

Change History (3)

comment:1 Changed 10 months ago by stuartm

  • Owner set to stuartm
  • Status changed from new to accepted

comment:2 Changed 10 months ago by Gary Buhrmaster <gary.buhrmaster@…>

  • Resolution set to fixed
  • Status changed from accepted to closed

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 10 months ago by paulh

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.