This is an automated email from the ASF dual-hosted git repository.

felixybw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new c5aecbda9d [GLUTEN-8503][VL] Fix macro parenthesis CVE (#8504)
c5aecbda9d is described below

commit c5aecbda9dc2a8da572dcfcdd0d1ad641fe07d52
Author: jkhaliqi <[email protected]>
AuthorDate: Fri Jan 10 15:33:37 2025 -0800

    [GLUTEN-8503][VL] Fix macro parenthesis CVE (#8504)
    
    Macro replacement lists should be parenthesized
---
 cpp/core/benchmarks/CompressionBenchmark.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/core/benchmarks/CompressionBenchmark.cc 
b/cpp/core/benchmarks/CompressionBenchmark.cc
index da8c71c044..e465562145 100644
--- a/cpp/core/benchmarks/CompressionBenchmark.cc
+++ b/cpp/core/benchmarks/CompressionBenchmark.cc
@@ -60,7 +60,7 @@ using gluten::ShuffleWriterOptions;
 
 namespace gluten {
 
-#define ALIGNMENT 2 * 1024 * 1024
+#define ALIGNMENT (2 * 1024 * 1024)
 
 const int32_t kQatGzip = 0;
 const int32_t kQatZstd = 1;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to