-
Notifications
You must be signed in to change notification settings - Fork 13
Fix/improve cdv error messages #196
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
base: develop
Are you sure you want to change the base?
Conversation
6cb5d11 to
18f420c
Compare
tbkr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a huge fan of the request passing in the writeInto method but for the sake of readability ok.
|
|
||
| /// Writes the extracted data into the out pointer. | ||
| /// The caller must ensure there is enought memory allccated for all values to be copied into out. | ||
| /// @param request tthat was used to read data from FDB, only used to enhance error messages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// @param request tthat was used to read data from FDB, only used to enhance error messages | |
| /// @param request that was used to read data from FDB, only used to enhance error messages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #196 +/- ##
===========================================
- Coverage 72.46% 72.42% -0.04%
===========================================
Files 360 360
Lines 21693 21704 +11
Branches 2240 2241 +1
===========================================
Hits 15719 15719
- Misses 5974 5985 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
18f420c to
7cd4dcf
Compare
Assert that we are not writng out of bounds when assembling chunk.
A user defined view may not contain fields of different sizes. Now check and report errors on size mismatches. Prior this could lead to overwriting memory and segfaulting subsequently.
7cd4dcf to
2462cf7
Compare
Description
Fixes a segfault I encountered during profiling, adds additional bounds checking and improves error messages.
Commits:
Contributor Declaration
By opening this pull request, I affirm the following:
🌈🌦️📖🚧 Documentation Z3FDB 🚧📖🌦️🌈
https://sites.ecmwf.int/docs/dev-section/z3fdb/pull-requests/PR-196
🌈🌦️📖🚧 Documentation FDB 🚧📖🌦️🌈
https://sites.ecmwf.int/docs/dev-section/fdb/pull-requests/PR-196