<?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>11437</bug_id>
          
          <creation_ts>2006-10-27 11:58:23 -0700</creation_ts>
          <short_desc>use of uninitialized variable</short_desc>
          <delta_ts>2006-10-28 12:07:41 -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>HTML Editing</component>
          <version>420+</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>http://www.google.com</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="David Carson">dacarson</reporter>
          <assigned_to name="David Carson">dacarson</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49299</commentid>
    <comment_count>0</comment_count>
    <who name="David Carson">dacarson</who>
    <bug_when>2006-10-27 11:58:23 -0700</bug_when>
    <thetext>In the function SelectionController::setModifyBias(), the case EXTEND: is be hit before m_modifyBiasSet has been initialized. The case funciton looks like this:
case EXTEND:
            if (!m_modifyBiasSet) {
                m_modifyBiasSet = true;
....

It is being hit when the user first starts to type something into the search box on www.google.com.
Not sure what the value should be initialized to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49306</commentid>
    <comment_count>1</comment_count>
    <who name="David Carson">dacarson</who>
    <bug_when>2006-10-27 13:27:44 -0700</bug_when>
    <thetext>From the looks of the code, it seems as if the value should be initialized to false.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49308</commentid>
    <comment_count>2</comment_count>
      <attachid>11259</attachid>
    <who name="David Carson">dacarson</who>
    <bug_when>2006-10-27 13:36:02 -0700</bug_when>
    <thetext>Created attachment 11259
patch to init value to false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49251</commentid>
    <comment_count>3</comment_count>
      <attachid>11259</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2006-10-27 13:55:40 -0700</bug_when>
    <thetext>Comment on attachment 11259
patch to init value to false

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48839</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2006-10-28 12:07:41 -0700</bug_when>
    <thetext>Landed in r17400.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>11259</attachid>
            <date>2006-10-27 13:36:02 -0700</date>
            <delta_ts>2006-10-27 13:55:40 -0700</delta_ts>
            <desc>patch to init value to false</desc>
            <filename>initVar.txt</filename>
            <type>text/plain</type>
            <size>1068</size>
            <attacher name="David Carson">dacarson</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAxNzM4NSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDYtMTAtMjcgIGRhY2Fyc29uICBkYWNhcnNvbkBnbWFpbC5jb20K
KworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBGaXggZm9y
OiBodHRwOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTQzNworICAgICAgICBJ
bml0aWFsaXplIG1fbW9kaWZ5Qmlhc1NldCB0byBmYWxzZSwgYXMgaXQgc29tZXRpbWVzIGdldHMg
CisgICAgICAgIHVzZWQgYmVmb3JlIGl0IGhhcyBiZWVuIGluaXRhbGl6ZWQuCisKKyAgICAgICAg
KiBlZGl0aW5nL1NlbGVjdGlvbkNvbnRyb2xsZXIuY3BwOgorICAgICAgICAoV2ViQ29yZTo6U2Vs
ZWN0aW9uQ29udHJvbGxlcjo6U2VsZWN0aW9uQ29udHJvbGxlcik6CisKIDIwMDYtMTAtMjcgIEdl
b2ZmcmV5IEdhcmVuICA8Z2dhcmVuQGFwcGxlLmNvbT4KIAogICAgICAgICBSZXZpZXdlZCBieSBC
cmFkeS4KSW5kZXg6IFdlYkNvcmUvZWRpdGluZy9TZWxlY3Rpb25Db250cm9sbGVyLmNwcAo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09Ci0tLSBXZWJDb3JlL2VkaXRpbmcvU2VsZWN0aW9uQ29udHJvbGxlci5jcHAJKHJldmlz
aW9uIDE3MzY2KQorKysgV2ViQ29yZS9lZGl0aW5nL1NlbGVjdGlvbkNvbnRyb2xsZXIuY3BwCSh3
b3JraW5nIGNvcHkpCkBAIC00OCw2ICs0OCw3IEBAIFNlbGVjdGlvbkNvbnRyb2xsZXI6OlNlbGVj
dGlvbkNvbnRyb2xsZXIKICAgICA6IG1fbmVlZHNMYXlvdXQodHJ1ZSkKICAgICAsIG1fZnJhbWUo
ZnJhbWUpCiAgICAgLCBtX2lzRHJhZ0NhcmV0Q29udHJvbGxlcihpc0RyYWdDYXJldENvbnRyb2xs
ZXIpCisgICAgLCBtX21vZGlmeUJpYXNTZXQoZmFsc2UpCiB7CiB9CiAK
</data>
<flag name="review"
          id="3879"
          type_id="1"
          status="+"
          setter="beidson"
    />
          </attachment>
      

    </bug>

</bugzilla>