mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1020379 - [RTSP] Fix potential infinite loop in ARTPConnection.cpp. r=sworkman
This commit is contained in:
parent
f8dfde17a3
commit
df66611f95
@ -145,7 +145,7 @@ void ARTPConnection::MakePortPair(
|
||||
unsigned start = (unsigned)((rand() * 1000ll) / RAND_MAX) + 15550;
|
||||
start &= ~1;
|
||||
|
||||
for (uint16_t port = start; port < 65536; port += 2) {
|
||||
for (uint32_t port = start; port < 65536; port += 2) {
|
||||
PRNetAddr addr;
|
||||
addr.inet.family = PR_AF_INET;
|
||||
addr.inet.ip = PR_htonl(PR_INADDR_ANY);
|
||||
|
Loading…
Reference in New Issue
Block a user