<?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>4664</bug_id>
          
          <creation_ts>2005-08-25 17:25:33 -0700</creation_ts>
          <short_desc>TOT Crash from backwards null check in WebScriptObject.mm</short_desc>
          <delta_ts>2005-08-26 10:56:23 -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>JavaScriptCore</component>
          <version>412</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Geoffrey Garen">ggaren</reporter>
          <assigned_to name="Geoffrey Garen">ggaren</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17477</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2005-08-25 17:25:33 -0700</bug_when>
    <thetext>Crashes when you load a widget in Dashboard using TOT webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17478</commentid>
    <comment_count>1</comment_count>
      <attachid>3580</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2005-08-25 17:26:22 -0700</bug_when>
    <thetext>Created attachment 3580
Patch

Attached fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17481</commentid>
    <comment_count>2</comment_count>
      <attachid>3580</attachid>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2005-08-25 17:56:26 -0700</bug_when>
    <thetext>Comment on attachment 3580
Patch

I&apos;m happy to give this one the stamp of approval. D&apos;oh!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17510</commentid>
    <comment_count>3</comment_count>
      <attachid>3580</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-08-26 10:12:05 -0700</bug_when>
    <thetext>Comment on attachment 3580
Patch

Oops! Sorry I broke this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3580</attachid>
            <date>2005-08-25 17:26:22 -0700</date>
            <delta_ts>2005-08-25 17:56:26 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>709</size>
            <attacher name="Geoffrey Garen">ggaren</attacher>
            
              <data encoding="base64">PyAuRFNfU3RvcmUKSW5kZXg6IG9iamMvV2ViU2NyaXB0T2JqZWN0Lm1tCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNT
IGZpbGU6IC9jdnMvcm9vdC9KYXZhU2NyaXB0Q29yZS9iaW5kaW5ncy9vYmpjL1dlYlNjcmlwdE9i
amVjdC5tbSx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4yMgpkaWZmIC11IC1yMS4yMiBXZWJTY3Jp
cHRPYmplY3QubW0KLS0tIG9iamMvV2ViU2NyaXB0T2JqZWN0Lm1tCTE2IEF1ZyAyMDA1IDAwOjQ3
OjIzIC0wMDAwCTEuMjIKKysrIG9iamMvV2ViU2NyaXB0T2JqZWN0Lm1tCTI2IEF1ZyAyMDA1IDAw
OjI2OjM5IC0wMDAwCkBAIC00MTksNyArNDE5LDcgQEAKIAkKICAgICAgICAgaWYgKG9iamVjdElt
cC0+Y2xhc3NJbmZvKCkgIT0gJlJ1bnRpbWVPYmplY3RJbXA6OmluZm8pIHsKIAkgICAgVmFsdWVJ
bXAgKnJ1bnRpbWVPYmplY3QgPSBvYmplY3RJbXAtPmdldChleGVjLCAiX19hcHBsZV9ydW50aW1l
X29iamVjdCIpOwotCSAgICBpZiAoIXJ1bnRpbWVPYmplY3QgJiYgcnVudGltZU9iamVjdC0+aXNP
YmplY3QoKSkKKwkgICAgaWYgKHJ1bnRpbWVPYmplY3QgJiYgcnVudGltZU9iamVjdC0+aXNPYmpl
Y3QoKSkKIAkJb2JqZWN0SW1wID0gc3RhdGljX2Nhc3Q8UnVudGltZU9iamVjdEltcCo+KHJ1bnRp
bWVPYmplY3QpOwogCX0KICAgICAgICAgCg==
</data>
<flag name="review"
          id="444"
          type_id="1"
          status="+"
          setter="sullivan"
    />
          </attachment>
      

    </bug>

</bugzilla>