Opened 5 years ago

Closed 5 years ago

Last modified 5 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


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:

github git-am ref:

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by stuartm

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

comment:2 Changed 5 years 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 5 years ago by paulh

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

as closed The owner will remain stuartm.
The resolution will be deleted. Next status will be 'new'.

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

Note: See TracTickets for help on using tickets.