<?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>161629</bug_id>
          
          <creation_ts>2016-09-06 08:43:06 -0700</creation_ts>
          <short_desc>[Win] Enable strict runtime stack buffer checks.</short_desc>
          <delta_ts>2016-09-06 11:57:07 -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="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>achristensen</cc>
    
    <cc>benjamin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1226684</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-09-06 08:43:06 -0700</bug_when>
    <thetext>We can use #pragma strict_gs_check(on) to enable buffer checks in more cases than with the compile option /GS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226688</commentid>
    <comment_count>1</comment_count>
      <attachid>288027</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-09-06 08:47:04 -0700</bug_when>
    <thetext>Created attachment 288027
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226691</commentid>
    <comment_count>2</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-09-06 08:49:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/9915569&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226723</commentid>
    <comment_count>3</comment_count>
      <attachid>288027</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-09-06 09:57:50 -0700</bug_when>
    <thetext>Comment on attachment 288027
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226737</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-09-06 10:34:48 -0700</bug_when>
    <thetext>Should we remove the compile option /GS then?  Will this hurt performance?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226767</commentid>
    <comment_count>5</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-09-06 11:33:43 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Should we remove the compile option /GS then?  Will this hurt performance?

I believe the /GS option is needed to use the pragma. I don&apos;t think it will affect performance much, but it will add a little overhead to the functions where the compiler decides to emit these checks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226768</commentid>
    <comment_count>6</comment_count>
      <attachid>288027</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-09-06 11:35:33 -0700</bug_when>
    <thetext>Comment on attachment 288027
Patch

Thanks for reviewing :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226775</commentid>
    <comment_count>7</comment_count>
      <attachid>288027</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-09-06 11:57:01 -0700</bug_when>
    <thetext>Comment on attachment 288027
Patch

Clearing flags on attachment: 288027

Committed r205497: &lt;http://trac.webkit.org/changeset/205497&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226776</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-09-06 11:57:07 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>288027</attachid>
            <date>2016-09-06 08:47:04 -0700</date>
            <delta_ts>2016-09-06 11:57:01 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-161629-20160906084448.patch</filename>
            <type>text/plain</type>
            <size>1039</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XVEYvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XVEYvQ2hh
bmdlTG9nCShyZXZpc2lvbiAyMDU0NzgpCisrKyBTb3VyY2UvV1RGL0NoYW5nZUxvZwkod29ya2lu
ZyBjb3B5KQpAQCAtMSwzICsxLDEyIEBACisyMDE2LTA5LTA2ICBQZXIgQXJuZSBWb2xsYW4gIDxw
dm9sbGFuQGFwcGxlLmNvbT4KKworICAgICAgICBbV2luXSBFbmFibGUgc3RyaWN0IHJ1bnRpbWUg
c3RhY2sgYnVmZmVyIGNoZWNrcy4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hv
d19idWcuY2dpP2lkPTE2MTYyOQorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgorCisgICAgICAgICogd3RmL1BsYXRmb3JtLmg6CisKIDIwMTYtMDgtMzEgIEZpbGlwIFBpemxv
ICA8ZnBpemxvQGFwcGxlLmNvbT4KIAogICAgICAgICBCdXR0ZXJmbGllcyBzaG91bGQgYmUgYWxs
b2NhdGVkIGluIEF1eGlsaWFyeSBNYXJrZWRTcGFjZSBpbnN0ZWFkIG9mIENvcGllZFNwYWNlIGFu
ZCB3ZSBzaG91bGQgcmV3cml0ZSBhcyBtdWNoIG9mIHRoZSBHQyBhcyBuZWVkZWQgdG8gbWFrZSB0
aGlzIG5vdCBhIHJlZ3Jlc3Npb24KSW5kZXg6IFNvdXJjZS9XVEYvd3RmL1BsYXRmb3JtLmgKPT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PQotLS0gU291cmNlL1dURi93dGYvUGxhdGZvcm0uaAkocmV2aXNpb24gMjA1MTEwKQor
KysgU291cmNlL1dURi93dGYvUGxhdGZvcm0uaAkod29ya2luZyBjb3B5KQpAQCAtMTIyMCw0ICsx
MjIwLDkgQEAKICNkZWZpbmUgVVNFX01FRElBUkVNT1RFIDEKICNlbmRpZgogCisjaWYgQ09NUElM
RVIoTVNWQykKKy8qIEVuYWJsZSBzdHJpY3QgcnVudGltZSBzdGFjayBidWZmZXIgY2hlY2tzLiAq
LworI3ByYWdtYSBzdHJpY3RfZ3NfY2hlY2sob24pCisjZW5kaWYKKwogI2VuZGlmIC8qIFdURl9Q
bGF0Zm9ybV9oICovCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>