Title: [205497] trunk/Source/WTF
Revision
205497
Author
[email protected]
Date
2016-09-06 11:55:02 -0700 (Tue, 06 Sep 2016)

Log Message

[Win] Enable strict runtime stack buffer checks.
https://bugs.webkit.org/show_bug.cgi?id=161629

Reviewed by Brent Fulgham.

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (205496 => 205497)


--- trunk/Source/WTF/ChangeLog	2016-09-06 18:38:15 UTC (rev 205496)
+++ trunk/Source/WTF/ChangeLog	2016-09-06 18:55:02 UTC (rev 205497)
@@ -1,3 +1,12 @@
+2016-09-06  Per Arne Vollan  <[email protected]>
+
+        [Win] Enable strict runtime stack buffer checks.
+        https://bugs.webkit.org/show_bug.cgi?id=161629
+
+        Reviewed by Brent Fulgham.
+
+        * wtf/Platform.h:
+
 2016-09-06  Daniel Bates  <[email protected]>
 
         Remove EXTERN_C from WTF

Modified: trunk/Source/WTF/wtf/Platform.h (205496 => 205497)


--- trunk/Source/WTF/wtf/Platform.h	2016-09-06 18:38:15 UTC (rev 205496)
+++ trunk/Source/WTF/wtf/Platform.h	2016-09-06 18:55:02 UTC (rev 205497)
@@ -1224,4 +1224,9 @@
 #define USE_MEDIAREMOTE 1
 #endif
 
+#if COMPILER(MSVC)
+/* Enable strict runtime stack buffer checks. */
+#pragma strict_gs_check(on)
+#endif
+
 #endif /* WTF_Platform_h */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to