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
If the nativejson binary is run from certain directories (such as the root of the repository), ReadFiles fails twice:
ReadFiles
nativejson-benchmark/src/main.cpp
Line 1238 in 2d4e633
testJsons.front()
Line 726 in 2d4e633
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the nativejson binary is run from certain directories (such as the root of the repository),
ReadFiles
fails twice:nativejson-benchmark/src/main.cpp
Line 1238 in 2d4e633
So testJsons has length 0 and capacity 0. That makes
testJsons.front()
invalid, as no memory has been allocated for the vector yet. So here:nativejson-benchmark/src/main.cpp
Line 726 in 2d4e633
A null pointer is dereferenced, causing a segfault.
The text was updated successfully, but these errors were encountered: