Opened 12 years ago

Closed 12 years ago

#5131 closed defect (fixed)

need to check select() in DVBStreamHandler::RunTS()

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

select() can fail. It should be checked when it is called.

Attachments (1)

libs_libmythtv_dvbstreamhandler.cpp-always-check-select.patch (1.1 KB) - added by Erik Hovland <erik@…> 12 years ago.
make sure select() didn't fail. Report if it did.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Erik Hovland <erik@…>

make sure select() didn't fail. Report if it did.

comment:1 Changed 12 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17194]) Fixes #5131. Check if select failed, and don't read fd if it did, instead print error message and try again later.

Note: See TracTickets for help on using tickets.