[webkit-changes] [WebKit/WebKit] c0e58a: Follow-up: [WebRTC] Add target for sdp_integration...
Commit Queue
noreply at github.com
Thu Oct 19 17:24:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c0e58a114febdf366376fd27a6f0af8579c3cd26
https://github.com/WebKit/WebKit/commit/c0e58a114febdf366376fd27a6f0af8579c3cd26
Author: David Kilzer <ddkilzer at apple.com>
Date: 2023-10-19 (Thu, 19 Oct 2023)
Changed paths:
M Source/ThirdParty/libwebrtc/Source/webrtc/test/fuzzers/sdp_integration_fuzzer.cc
M Source/ThirdParty/libwebrtc/WebKit/sdp_integration_fuzzer-libwebrtc.diff
Log Message:
-----------
Follow-up: [WebRTC] Add target for sdp_integration_fuzzer
https://bugs.webkit.org/show_bug.cgi?id=263225
<rdar://117044163>
Unreviewed fuzzer coverage improvement.
* Source/ThirdParty/libwebrtc/Source/webrtc/test/fuzzers/sdp_integration_fuzzer.cc:
(webrtc::FuzzerTest::RunNegotiateCycle):
- Add SdpType enum method argument instead of hard-coding a string.
- Remove unused SdpParseError stack variable.
- Call overload of CreateSessionDescription() that takes an SdpType enum
value to avoid creating a std::string just to have it converted back
to an SdpType enum later.
(webrtc::FuzzOneInput):
- If SDP_TYPE environment variable is set, run the fuzzer in
single-SdpType mode based on the integer value of the variable, else
use the first byte of input to determine the SdpType of the input.
* Source/ThirdParty/libwebrtc/WebKit/sdp_integration_fuzzer-libwebrtc.diff:
- Update patch to include changes to sdp_integration_fuzzer.cc.
Canonical link: https://commits.webkit.org/269551@main
More information about the webkit-changes
mailing list