-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Container Overflow (ASAN) when using operator >> on an ifs #1873
Comments
That is weird. If I understand the documentation correctly, it means that a container is accessed between |
@nlohmann May be it's a false positive ? |
|
Could you try compiling the whole app with ASAN? |
Yeah it's working now @nlohmann |
I got a Container Overflow (ASAN) when using operator >> on an input file stream (std::ifstream)
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
What is the expected behavior?
No Report from ASAN is expected.
ASAN Is blaming
lexer.hpp
codeAppleClang 11 OSX.
develop
branch?I use
nlohmann::json
through Vcpkg.(V 3.7.3)
There is the code that I use for load my json:
Asan full report:
There is the json config that I'm loading:
I want to clarify that I have unit tests that pass on this loading function, and no problem with asan.
https://github.com/KomodoPlatform/antara-gaming-sdk/blob/master/modules/config/antara/gaming/config/antara.config.loading.tests.cpp
The text was updated successfully, but these errors were encountered: