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 11 months ago

Closed 10 months ago

Last modified 10 months ago

#11598 closed Patch - Bug Fix (fixed)

Patch to check the success of setsockopt in httprequest.cpp - fixes coverity 746751 and 746752

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

Description

Static analysis (coverity) reported a defect for not checking the return from setsockopt. Put in the check, and log if the setsockopt fails (unlikely).

Fixes coverity 746751 and 746752

github patch link:

https://github.com/garybuhrmaster/mythtv/commit/8ec9a2d38c3ce94249382dfdc9d8a6ab66831356

or, for the git-am format:

https://github.com/garybuhrmaster/mythtv/commit/8ec9a2d38c3ce94249382dfdc9d8a6ab66831356.patch

Attachments (0)

Change History (2)

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

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

In 6c84654b168a875ffdf9230e291ef630f21267af/mythtv:

Check the success of setsockopt

Static analysis (coverity) reported a defect for not checking
the return from setsockopt. Put in the check, and log if the
setsockopt fails (unlikely).

Fixes coverity 746751 and 746752
(cherry picked from commit 8ec9a2d38c3ce94249382dfdc9d8a6ab66831356)

Fixes #11598

Signed-off-by: Stuart Morgan <smorgan@…>

comment:2 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.