Files
chromium-dev/chromium-131-clang-stack-protector.patch
Ruediger Oertel cab4645a26 - Chromium 133.0.6835.3
(dev release 2024-11-14) 

- Chromium 132.0.6834.6
  (beta released 2024-11-13) 
  * chromium-127-rust-clanglib.patch
  * Cr122-ffmpeg-new-channel-layout.patch
- Chromium 131.0.6778.69 
  (stable released 2024-11-12) (boo#1233311)
  * CVE-2024-11110: Inappropriate implementation in Blink.
  * CVE-2024-11111: Inappropriate implementation in Autofill.
  * CVE-2024-11112: Use after free in Media.
    (n/a for linux)
  * CVE-2024-11113: Use after free in Accessibility.
  * CVE-2024-11114: Inappropriate implementation in Views.
    (n/a for linux)
  * CVE-2024-11115: Insufficient policy enforcement in Navigation.
    (n/a for linux)
  * CVE-2024-11116: Inappropriate implementation in Paint.
  * CVE-2024-11117: Inappropriate implementation in FileSystem.
  * chromium-125-lp155-typename.patch (not required with llvm)
- modified patches:
  * chromium-127-bindgen.patch (drop all allowlist changes)
  * chromium-127-constexpr.patch (update from debian patch)
  * chromium-131-clang-stack-protector.patch
    (partial revert of upstream commit
     c3dadb02f611a360fb40fd8844ed3c1ef1e7834e)

OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium-dev?expand=0&rev=18
2024-11-19 16:02:03 +00:00

20 lines
771 B
Diff

--- chromium-131.0.6778.69/base/compiler_specific.h 2024/11/18 15:29:10 1.1
+++ chromium-131.0.6778.69/base/compiler_specific.h 2024/11/18 16:16:01
@@ -424,10 +424,12 @@
// // Stack canary checks will not be performed in this body.
// }
// ```
-#if __has_cpp_attribute(gnu::no_stack_protector)
-#define NO_STACK_PROTECTOR [[gnu::no_stack_protector]]
-#elif __has_cpp_attribute(gnu::optimize)
-#define NO_STACK_PROTECTOR [[gnu::optimize("-fno-stack-protector")]]
+#if defined(COMPILER_GCC) || defined(__clang__)
+#if HAS_ATTRIBUTE(__no_stack_protector__)
+#define NO_STACK_PROTECTOR __attribute__((__no_stack_protector__))
+#else
+#define NO_STACK_PROTECTOR __attribute__((__optimize__("-fno-stack-protector")))
+#endif
#else
#define NO_STACK_PROTECTOR
#endif