tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 178e217c0321b8466d0169a1fe1fe7e4d3534b98
parent a03a54e914d50532dbb5165182720f739d8914bc
Author: Michael Froman <mfroman@mozilla.com>
Date:   Tue, 18 Nov 2025 17:44:41 +0000

Bug 2000353 - remove disabled code from ice_parser.c r=bwc,ng

Differential Revision: https://phabricator.services.mozilla.com/D272761

Diffstat:
Mdom/media/webrtc/transport/third_party/nICEr/src/ice/ice_parser.c | 16----------------
1 file changed, 0 insertions(+), 16 deletions(-)

diff --git a/dom/media/webrtc/transport/third_party/nICEr/src/ice/ice_parser.c b/dom/media/webrtc/transport/third_party/nICEr/src/ice/ice_parser.c @@ -337,13 +337,6 @@ nr_ice_peer_candidate_from_attribute(nr_ice_ctx *ctx,char *orig,nr_ice_media_str ABORT(R_BAD_DATA); } /* Ignore extensions per RFC 5245 S 15.1 */ -#if 0 - /* This used to be an assert, but we don't want to exit on invalid - remote data */ - if (strlen(str) != 0) { - ABORT(R_BAD_DATA); - } -#endif nr_ice_candidate_compute_codeword(cand); @@ -476,15 +469,6 @@ nr_ice_peer_ctx_parse_global_attributes(nr_ice_peer_ctx *pctx, char **attrs, int skip_to_past_space(&str); -#if 0 - /* TODO: !nn! just drop on the floor for now, later put somewhere */ - /* Assume v4 for now */ - if(r=nr_ip4_port_to_transport_addr(ntohl(addr),port,IPPROTO_UDP,&candidate->base)) - ABORT(r); - - TAILQ_INSERT_TAIL(head, elm, field); -#endif - component_id = 0; /* prevent free */ RFREE(connection_address); connection_address = 0; /* prevent free */