<?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>11099</bug_id>
          
          <creation_ts>2006-09-30 10:19:07 -0700</creation_ts>
          <short_desc>HttpSendRequestEx results in ERROR_HTTP_HEADER_NOT_FOUND</short_desc>
          <delta_ts>2006-10-03 18:14:11 -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>Platform</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Darin Fisher (:fishd, Google)">fishd</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56838</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2006-09-30 10:19:07 -0700</bug_when>
    <thetext>I&apos;ve noticed that HttpSendRequestEx sometimes returns ERROR_HTTP_HEADER_NOT_FOUND, which I believe is caused by the lpcszHeader member of the INTERNET_BUFFERS struct being a garbage pointer.  Note: the CString object returned by headers.latin1() is a temporary, and ResourceLoaderWin is making the mistake of using it beyond its lifetime.

Patch coming up...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56980</commentid>
    <comment_count>1</comment_count>
      <attachid>10875</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2006-10-02 18:51:56 -0700</bug_when>
    <thetext>Created attachment 10875
minimal patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56981</commentid>
    <comment_count>2</comment_count>
      <attachid>10875</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-10-02 19:36:05 -0700</bug_when>
    <thetext>Comment on attachment 10875
minimal patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55132</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-10-03 18:14:11 -0700</bug_when>
    <thetext>Landed in r16757.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>10875</attachid>
            <date>2006-10-02 18:51:56 -0700</date>
            <delta_ts>2006-10-02 19:36:05 -0700</delta_ts>
            <desc>minimal patch</desc>
            <filename>fix-1.diff</filename>
            <type>text/plain</type>
            <size>1582</size>
            <attacher name="Darin Fisher (:fishd, Google)">fishd</attacher>
            
              <data encoding="base64">SW5kZXg6IHBsYXRmb3JtL3dpbi9SZXNvdXJjZUxvYWRlcldpbi5jcHAKPT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0g
cGxhdGZvcm0vd2luL1Jlc291cmNlTG9hZGVyV2luLmNwcAkocmV2aXNpb24gMTY3MjkpCisrKyBw
bGF0Zm9ybS93aW4vUmVzb3VyY2VMb2FkZXJXaW4uY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0xNjcs
MTEgKzE2NywxMiBAQAogICAgICAgICBoZWFkZXJzICs9ICJSZWZlcmVyOiAiOwogICAgICAgICBo
ZWFkZXJzICs9IGQtPm1fcG9zdFJlZmVycmVyOwogICAgICAgICBoZWFkZXJzICs9ICJcbiI7Cisg
ICAgICAgIGNvbnN0IENTdHJpbmcmIGhlYWRlcnNMYXRpbjEgPSBoZ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jcyOSkK
KysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEyIEBACisyMDA2LTEwLTAy
ICBNb3JnYW5MICA8bW9yZ2FubC53ZWJraXRAeWFob28uY29tPgorCisgICAgICAgIFJldmlld2Vk
IGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEZpeGVzOiBodHRwOi8vYnVncy53ZWJraXQu
b3JnL3Nob3dfYnVnLmNnaT9pZD0xMTA5OQorCisgICAgICAgICogcGxhdGZvcm0vd2luL1Jlc291
cmNlTG9hZGVyV2luLmNwcDoKKyAgICAgICAgKFdlYkNvcmU6OlJlc291cmNlTG9hZGVyOjpvbkhh
bmRsZUNyZWF0ZWQpOgorCiAyMDA2LTEwLTAyICBKdXN0aW4gR2FyY2lhICA8anVzdGluLmdhcmNp
YUBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgYW5kZXJzCg==
</data>
<flag name="review"
          id="3613"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>