We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
embag/lib/embag.cc
Lines 168 to 169 in 74c0b5f
Both chunk_infos_ and chunks_ were reserve()'d, then accessed without initializing, which is undefined.
chunk_infos_
chunks_
reserve()
For chunk_infos_:
Line 243 in 74c0b5f
And &chunks_[i] was accessed before the element was pushed:
&chunks_[i]
Lines 288 to 296 in 74c0b5f
It does happen to work on MSVC Release build, but a "vector subscription out of range" exception was emitted in Debug build.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
embag/lib/embag.cc
Lines 168 to 169 in 74c0b5f
Both
chunk_infos_
andchunks_
werereserve()
'd, then accessed without initializing, which is undefined.For
chunk_infos_
:embag/lib/embag.cc
Line 243 in 74c0b5f
And
&chunks_[i]
was accessed before the element was pushed:embag/lib/embag.cc
Lines 288 to 296 in 74c0b5f
It does happen to work on MSVC Release build, but a "vector subscription out of range" exception was emitted in Debug build.
The text was updated successfully, but these errors were encountered: