-
As the object referred to by sys is allocated with calloc, sys->tcp_sock will be equal to 0 if an error occurs prior to it being assigned a value in satip_open (such as when encountering a malformed URI). This will cause the error clean-up to assume that tcp->tcp_sock refers to an open file-descriptor, triggering an assert if no suck file-descriptor exists or closing a fd that access/satip definitely should not mess with. fixes: #18344 Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9a613134