Opened 22 months ago
Closed 22 months ago
Last modified 22 months ago
Patch for errant parenthesis in mmulticastsocketdevice.cpp - fixes coverity 746821
|Reported by:||Gary Buhrmaster <gary.buhrmaster@…>||Owned by:||dekarl|
|Component:||MythTV - UPnP||Version:||Master Head|
Static analysis (coverity) detected a comparison that can never be true in mmulticastsocketdevice.cpp. In fact, there was a logic error due to an errant parenthesis (one of the right parens should have been to the left of the 0 being used to check the return from setsockopt rather than comparing with the sizeof, which resulted in passing an option length of zero). This patch moves the right paren to where it should have been (probable typo in the past).
Fixes coverity 746821