<?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>278522</bug_id>
          
          <creation_ts>2024-08-22 08:03:25 -0700</creation_ts>
          <short_desc>RELEASE_ASSERT that ObjectIdentifier is valid when constructed from a raw value</short_desc>
          <delta_ts>2024-08-22 21:01:19 -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>Web Template Framework</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2054703</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-08-22 08:03:25 -0700</bug_when>
    <thetext>We recently made it so that ObjectIdentifier no longer has a default constructor or an &quot;invalid&quot; state. However, a call site could still in theory construct an ObjectIdentifier with a raw value of 0 to construct an invalid identifier. Doing so would only hit an assertion in debug builds. For hardening, I&apos;m suggesting we turn this debug assertion into a release one. This tested as performance neutral.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054705</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-08-22 08:05:22 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32590</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054865</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-22 21:00:10 -0700</bug_when>
    <thetext>Committed 282646@main (576330780972): &lt;https://commits.webkit.org/282646@main&gt;

Reviewed commits have been landed. Closing PR #32590 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054866</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-22 21:01:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/134545098&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>