In looking at openConnectionFromURL() I think I see a potential problem
with fBaseURL.
Basically the first thing this method does is free fBaseURL and then
strDup the new URL.
Next this method parses the url and then checks to see if it a input
socket is open and if not opens one using the URL.
If parsing fails or an input socket is already open the function aborts
and doesn't clean up fBaseURL.
The problem I see is if a socket where opened to a URL and then never
closed before calling openConnectionFromURL with another URL fBaseURL
could be set to a URL that doesn't match the URL the socket is connected
to.
This seems like a potential for a bug or at the very least much confusion.
Matt S.
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel