Bug 1214279: Fix the same infinite loop from bug 957236 in a different place. r=drno
authorByron Campen [:bwc] <docfaraday@gmail.com>
Thu, 22 Oct 2015 16:40:38 -0400
changeset 304270 e56eb1908fafb9b333f418b1f3018a820370c266
parent 304269 3f813d86dfb7a1b870bf9bb520b7de99abf5abe7
child 304271 66dae447c29803b0f1bed088d0cfb0fef718d06e
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs1214279, 957236
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1214279: Fix the same infinite loop from bug 957236 in a different place. r=drno
media/mtransport/third_party/nICEr/src/stun/addrs.c
--- a/media/mtransport/third_party/nICEr/src/stun/addrs.c
+++ b/media/mtransport/third_party/nICEr/src/stun/addrs.c
@@ -194,17 +194,17 @@ stun_get_win32_addrs(nr_local_addr addrs
       c = strchr(munged_ifname, ' ');
       while (c != NULL) {
         *c = '_';
          c = strchr(munged_ifname, ' ');
       }
       c = strchr(munged_ifname, '.');
       while (c != NULL) {
         *c = '+';
-         c = strchr(munged_ifname, '+');
+         c = strchr(munged_ifname, '.');
       }
 
       if ((tmpAddress->IfIndex != 0) || (tmpAddress->Ipv6IfIndex != 0)) {
         IP_ADAPTER_UNICAST_ADDRESS *u = 0;
 
         for (u = tmpAddress->FirstUnicastAddress; u != 0; u = u->Next) {
           SOCKET_ADDRESS *sa_addr = &u->Address;