Title: [293010] trunk/Source/_javascript_Core
- Revision
- 293010
- Author
- [email protected]
- Date
- 2022-04-19 01:48:16 -0700 (Tue, 19 Apr 2022)
Log Message
Fix the address sanitizer build when building with gcc
https://bugs.webkit.org/show_bug.cgi?id=238869
Reviewed by Philippe Normand.
* runtime/ConfigFile.cpp:
(JSC::ConfigFile::ConfigFile):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (293009 => 293010)
--- trunk/Source/_javascript_Core/ChangeLog 2022-04-19 08:06:44 UTC (rev 293009)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-04-19 08:48:16 UTC (rev 293010)
@@ -1,3 +1,13 @@
+2022-04-19 Martin Robinson <[email protected]>
+
+ Fix the address sanitizer build when building with gcc
+ https://bugs.webkit.org/show_bug.cgi?id=238869
+
+ Reviewed by Philippe Normand.
+
+ * runtime/ConfigFile.cpp:
+ (JSC::ConfigFile::ConfigFile):
+
2022-04-18 Yusuke Suzuki <[email protected]>
[JSC] Use constants buffer in DFG
Modified: trunk/Source/_javascript_Core/runtime/ConfigFile.cpp (293009 => 293010)
--- trunk/Source/_javascript_Core/runtime/ConfigFile.cpp 2022-04-19 08:06:44 UTC (rev 293009)
+++ trunk/Source/_javascript_Core/runtime/ConfigFile.cpp 2022-04-19 08:48:16 UTC (rev 293010)
@@ -243,7 +243,9 @@
if (!filename)
m_filename[0] = '\0';
else {
+ IGNORE_GCC_WARNINGS_BEGIN("stringop-truncation")
strncpy(m_filename, filename, s_maxPathLength);
+ IGNORE_GCC_WARNINGS_END
m_filename[s_maxPathLength] = '\0';
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes