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 296542 6ace689f3a6c82350837d8cfd87dfa8a50960141
parent 296541 88379b819e82fb97de3276c2b22288d8357c7f30
child 296543 e74341409f6531e556fee406d6a0fe2e8b66ef1c
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno, sylvestre
bugs1214279, 957236
milestone43.0a2
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;