Bug 1214279: Fix the same infinite loop from bug 957236 in a different place. r=drno a=sylvestre
authorByron Campen [:bwc] <docfaraday@gmail.com>
Thu, 22 Oct 2015 16:40:38 -0400
changeset 289618 894bc1fcf2a9
parent 289617 e91b6fcbc1bb
child 289619 e5aece94a095
child 289621 5b55a9740ace
child 289622 9d360a275006
push id5225
push userrjesup@wgate.com
push date2015-10-22 21:05 +0000
treeherdermozilla-beta@894bc1fcf2a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno, sylvestre
bugs1214279, 957236
milestone42.0
Bug 1214279: Fix the same infinite loop from bug 957236 in a different place. r=drno a=sylvestre
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;