Skip to content

Commit

Permalink
webrtc::SctpTransportInformation::state_ is not initialized in defaul…
Browse files Browse the repository at this point in the history
…t constructor

https://bugs.webkit.org/show_bug.cgi?id=268258
<rdar://121811341>

Reviewed by Youenn Fablet.

* Source/ThirdParty/libwebrtc/Source/webrtc/api/sctp_transport_interface.h:
(webrtc::SctpTransportInformation):
- Initialize state_ to SctpTransportState::kNew.

Canonical link: https://commits.webkit.org/273738@main
  • Loading branch information
David Kilzer authored and ddkilzer committed Jan 30, 2024
1 parent 3000bc1 commit 5201724
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ class RTC_EXPORT SctpTransportInformation {
absl::optional<int> MaxChannels() const { return max_channels_; }

private:
SctpTransportState state_;
SctpTransportState state_ { SctpTransportState::kNew }; // WEBRTC_WEBKIT_BUILD
rtc::scoped_refptr<DtlsTransportInterface> dtls_transport_;
absl::optional<double> max_message_size_;
absl::optional<int> max_channels_;
Expand Down

0 comments on commit 5201724

Please sign in to comment.