[webkit-changes] [WebKit/WebKit] 431ee8: [GStreamer][WebRTC] heap-buffer-overflow in EndPoint

Philippe Normand noreply at github.com
Thu Jul 18 04:56:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 431ee891573634865d8c5db0a0df90436ea130bb
      https://github.com/WebKit/WebKit/commit/431ee891573634865d8c5db0a0df90436ea130bb
  Author: Philippe Normand <philn at igalia.com>
  Date:   2024-07-18 (Thu, 18 Jul 2024)

  Changed paths:
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp

  Log Message:
  -----------
  [GStreamer][WebRTC] heap-buffer-overflow in EndPoint
https://bugs.webkit.org/show_bug.cgi?id=276711

Reviewed by Xabier Rodriguez-Calvar.

gst_sdp_message_new_from_text() expects an input string, not a uint8_t pointer. Also the SDP can in
theory contain non-latin1 characters, so load it as UTF8 (this is covered by the
webrtc/utf8-sdp.html test).

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::setDescription):
(WebCore::GStreamerMediaEndpoint::isIceGatheringComplete):

Canonical link: https://commits.webkit.org/281084@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list