<?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>55190</bug_id>
          
          <creation_ts>2011-02-24 15:36:35 -0800</creation_ts>
          <short_desc>Crash when trying to send a sync message on an invalid connection</short_desc>
          <delta_ts>2011-02-25 09:54:52 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</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="Anders Carlsson">andersca</reporter>
          <assigned_to name="Anders Carlsson">andersca</assigned_to>
          <cc>ap</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>357460</commentid>
    <comment_count>0</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2011-02-24 15:36:35 -0800</bug_when>
    <thetext>Crash when trying to send a sync message on an invalid connection</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357465</commentid>
    <comment_count>1</comment_count>
      <attachid>83734</attachid>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2011-02-24 15:39:06 -0800</bug_when>
    <thetext>Created attachment 83734
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357473</commentid>
    <comment_count>2</comment_count>
      <attachid>83734</attachid>
    <who name="">mitz</who>
    <bug_when>2011-02-24 15:40:25 -0800</bug_when>
    <thetext>Comment on attachment 83734
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=83734&amp;action=review

&gt; Source/WebKit2/ChangeLog:11
&gt; +        Don&apos;t try to call a client function is isValid() returns false since the client

s/n is/n if/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357474</commentid>
    <comment_count>3</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2011-02-24 15:40:58 -0800</bug_when>
    <thetext>Committed r79634: &lt;http://trac.webkit.org/changeset/79634&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357713</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-24 22:52:18 -0800</bug_when>
    <thetext>So, all callers of sendSync() need to test for null return value again? This can&apos;t be right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357986</commentid>
    <comment_count>5</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2011-02-25 09:54:52 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; So, all callers of sendSync() need to test for null return value again? This can&apos;t be right.

You obviously can&apos;t call the client since the client is null!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>83734</attachid>
            <date>2011-02-24 15:39:06 -0800</date>
            <delta_ts>2011-02-24 15:40:25 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-55190-20110224153905.patch</filename>
            <type>text/plain</type>
            <size>1412</size>
            <attacher name="Anders Carlsson">andersca</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDc5NjMyKQorKysgU291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CisrKyBT
b3VyY2UvV2ViS2l0Mi9QbGF0Zm9ybS9Db3JlSVBDL0Nvbm5lY3Rpb24uY3BwCSh3b3JraW5nIGNv
cHkpCkBAIC0zNDMsMTAgKzM0Myw4IEBAIFBhc3NPd25QdHI8QXJndW1lbnREZWNvZGVyPiBDb25u
ZWN0aW9uOjoKICAgICAvLyBXZSBvbmx5IGFsbG93IHNlbmRpbmcgc3luYyBtZXNzYWdlcyBmcm9t
IHRoZSBjbGllbnQgcnVuIGxvb3AuCiAgICAgQVNTRVJUKFJ1bkxvb3A6OmN1cnJlbnQoKSA9PSBt
X2NsaWVudFJ1bkxvb3ApOwogCi0gICAgaWYgKCFpc1ZhbGlkKCkpIHsKLSAgICAgICAgbV9jbGll
bnQtPmRpZEZhaWxUb1NlbmRTeW5jTWVzc2FnZSh0aGlzKTsKKyAgICBpZiAoIWlzVmFsaWQoKSkK
ICAgICAgICAgcmV0dXJuIDA7Ci0gICAgfQogICAgIAogICAgIC8vIFB1c2ggdGhlIHBlbmRpbmcg
c3luYyByZXBseSBpbmZvcm1hdGlvbiBvbiBvdXIgc3RhY2suCiAgICAgewo=
</data>
<flag name="review"
          id="75604"
          type_id="1"
          status="+"
          setter="mitz"
    />
          </attachment>
      

    </bug>

</bugzilla>