ZhangHuiGui opened a new issue, #40276:
URL: https://github.com/apache/arrow/issues/40276

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   An implicit buffer-overflow bug in blow codes:
   ```c
     for (int x = 0; x < kValueSize; x++) {
       v.emplace_back(100 + x, 100 + x);
     }
   
     for (auto _ : state) {
       BasicDecimal128 result;
       for (int x = 0; x < 100; x++) { // should be kValueSize
         result += v[x];
       }
       benchmark::DoNotOptimize(result);
     }
   ```
   
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to