[WebRTC] WebKit2 should assert that libwebrtc transmitted IP addresses family is...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2017 01:07:10 +0000 (01:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2017 01:07:10 +0000 (01:07 +0000)
commit7964c2f89f6edc11af81de8afa209861b64d7bdd
treed7f0adcc7e55ee8f46f17ae1a93ce9c5113655a5
parentc95891dee25e95f0a255e8a3ef79002f7bafa1d8
[WebRTC] WebKit2 should assert that libwebrtc transmitted IP addresses family is IP4 or IP6
https://bugs.webkit.org/show_bug.cgi?id=168691

Patch by Youenn Fablet <youenn@apple.com> on 2017-02-21
Reviewed by Alex Christensen.

Adding some asserts that family is IPv4 or IPv6.

* Shared/RTCNetwork.cpp:
(WebKit::RTCNetwork::IPAddress::decode):
(WebKit::RTCNetwork::IPAddress::encode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/RTCNetwork.cpp