Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 86f9503e099379e82b8bd472f134ae2b199aa387
      
https://github.com/WebKit/WebKit/commit/86f9503e099379e82b8bd472f134ae2b199aa387
  Author: Youenn Fablet <[email protected]>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    A LayoutTests/http/wpt/webcodecs/h264_bad_avc-expected.txt
    A LayoutTests/http/wpt/webcodecs/h264_bad_avc.html
    M 
Source/ThirdParty/libwebrtc/Source/webrtc/webkit_sdk/objc/components/video_codec/nalu_rewriter.cc

  Log Message:
  -----------
  Integer underflow leads to crash in ComputeH264InfoFromAVC
rdar://171989035

Reviewed by Andy Estes.

We add a check to validate that the size of an encoded sequence parameter set 
NALU is greater than the NALU prefix.

Test: http/wpt/webcodecs/h264_bad_avc.html

* LayoutTests/http/wpt/webcodecs/h264_bad_avc-expected.txt: Added.
* LayoutTests/http/wpt/webcodecs/h264_bad_avc.html: Added.
* 
Source/ThirdParty/libwebrtc/Source/webrtc/webkit_sdk/objc/components/video_codec/nalu_rewriter.cc:

Originally-landed-as: 305413.562@rapid/safari-7624.2.5.110-branch 
(5f19c89ea2f0). rdar://176062469
Canonical link: https://commits.webkit.org/314045@main



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

Reply via email to