Skip to content

fix: Unsafe access to std::vector without bounds check #3628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 29, 2025

Conversation

OmarDuran
Copy link
Contributor

Ensure safe access in the L478 of file src/coreComponents/common/format/table/TableFormatter.cpp.

fix issue #3627.

@OmarDuran OmarDuran added the type: bug Something isn't working label Apr 22, 2025
@OmarDuran OmarDuran self-assigned this Apr 22, 2025
@OmarDuran OmarDuran added ci: run CUDA builds Allows to triggers (costly) CUDA jobs flag: ready for review ci: run integrated tests Allows to run the integrated tests in GEOS CI ci: run code coverage enables running of the code coverage CI jobs labels Apr 22, 2025
@OmarDuran OmarDuran changed the title fix: Unsafe access to std::vector without bounds check bug: Unsafe access to std::vector without bounds check Apr 22, 2025
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.66%. Comparing base (499569d) to head (5b7a6ad).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3628      +/-   ##
===========================================
- Coverage    56.66%   56.66%   -0.01%     
===========================================
  Files         1217     1217              
  Lines       105125   105123       -2     
===========================================
- Hits         59567    59563       -4     
- Misses       45558    45560       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@OmarDuran OmarDuran changed the title bug: Unsafe access to std::vector without bounds check fix: Unsafe access to std::vector without bounds check Apr 24, 2025
@rrsettgast rrsettgast merged commit 620bd4b into develop Apr 29, 2025
28 checks passed
@rrsettgast rrsettgast deleted the bugfix/oduran/bounds_check branch April 29, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: run code coverage enables running of the code coverage CI jobs ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI flag: ready for review type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants