From 8e4818a4cb88d243164759108056628dfb5a1163 Mon Sep 17 00:00:00 2001 From: "Byron Campen [:bwc]" Date: Thu, 9 Jan 2014 09:11:35 -0800 Subject: [PATCH] Bug 957236 - Fix infinite loop on win32 when network interfaces contain a '.'. r=ekr --- media/mtransport/third_party/nICEr/src/stun/addrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/mtransport/third_party/nICEr/src/stun/addrs.c b/media/mtransport/third_party/nICEr/src/stun/addrs.c index e5ec607f183..738470fe300 100644 --- a/media/mtransport/third_party/nICEr/src/stun/addrs.c +++ b/media/mtransport/third_party/nICEr/src/stun/addrs.c @@ -426,7 +426,7 @@ stun_get_win32_addrs(nr_local_addr addrs[], int maxaddrs, int *count) c = strchr(munged_ifname, '.'); while (c != NULL) { *c = '+'; - c = strchr(munged_ifname, '+'); + c = strchr(munged_ifname, '.'); } r_log(NR_LOG_STUN, LOG_INFO, "Converted ifname: %s", munged_ifname);