<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>289832</bug_id>
          
          <creation_ts>2025-03-14 15:36:10 -0700</creation_ts>
          <short_desc>REGRESSION(291982@main): Null pointer deference may happen if the page contains an SVGImage</short_desc>
          <delta_ts>2025-03-14 18:42:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>282299</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Said Abou-Hallawa">sabouhallawa</assigned_to>
          <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2103450</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-03-14 15:36:10 -0700</bug_when>
    <thetext>The following null pointer deference may happen if the page contains an SVGImage. SVGImage::hasPaintedHDRContent() needs to null-check m_page.

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000000000c0
Exception Codes:       0x0000000000000001, 0x00000000000000c0

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [82760]

VM Region Info: 0xc0 is not in any region.  Bytes before following region: 4335451968
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
---&gt;  
      __TEXT                      10269c000-1026a0000    [   16K] r-x/r-x SM=COW  /Volumes/VOLUME/*/Safari-GlowC-Performance-SafariCheer-main-292088@main-1741875988_4fd62d90ab92.app/Contents/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent.Development

Application Specific Information:
Bundle controller class:
BrowserBundleController


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   WebCore                       	       0x11e2f35b4 WebCore::SVGImage::hasPaintedHDRContent() const + 24
1   WebCore                       	       0x11de3b434 WebCore::RenderImage::notifyFinished(WebCore::CachedResource&amp;, WebCore::NetworkLoadMetrics const&amp;, WebCore::LoadWillContinueInAnotherProcess) + 320
2   WebCore                       	       0x11d760848 WebCore::CachedResource::checkNotify(WebCore::NetworkLoadMetrics const&amp;, WebCore::LoadWillContinueInAnotherProcess) + 160
3   WebCore                       	       0x11d760ccc WebCore::CachedResource::cancelLoad(WebCore::LoadWillContinueInAnotherProcess) + 252</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103451</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-14 15:37:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/147082160&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103452</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-03-14 15:42:13 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/42518</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103484</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-14 18:42:49 -0700</bug_when>
    <thetext>Committed 292203@main (04f643451ef2): &lt;https://commits.webkit.org/292203@main&gt;

Reviewed commits have been landed. Closing PR #42518 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>