Opened 23 months ago
Closed 23 months ago
Last modified 22 months ago
Patch to check success of socket creation in iptvstreamhandler.cpp - fixes coverity 746816
|Reported by:||Gary Buhrmaster <gary.buhrmaster@…>||Owned by:||Gary Buhrmaster <gary.buhrmaster@…>|
|Component:||MythTV - General||Version:||Master Head|
While unlikely, the socket creation could fail, returning an error rather than a file descriptor. Log it, and continue.
Note that coverity reported "Improper use of negative value" later in the code where calling setsockopt with the fd could be calling with a negative value. This patch checks at socket creation time.
Fixes coverity 746816