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
We found with our fuzzer that json_spirit may still suffer from stack overflow when input file contains too many [s.
[
Driver:
#include <string> #include <fstream> #include <streambuf> #include <iostream> #include "ciere/json/io.hpp" #include "ciere/json/value.hpp" using namespace ciere; int main(int argc, char** argv) { std::ifstream t(argv[1]); std::string str((std::istreambuf_iterator<char>(t)), std::istreambuf_iterator<char>()); auto res = json::construct(str); std::cout<<res<<"\n"; }
Sample input: test.txt
The text was updated successfully, but these errors were encountered:
Thanks for the report. Gotta love fuzzers.
Sorry, something went wrong.
No branches or pull requests
We found with our fuzzer that json_spirit may still suffer from stack overflow when input file contains too many
[
s.Driver:
Sample input:
test.txt
The text was updated successfully, but these errors were encountered: