Skip to content
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

Invalid query JSON makes the binary SIGABORT #51

Open
Cubox opened this issue May 26, 2021 · 0 comments
Open

Invalid query JSON makes the binary SIGABORT #51

Cubox opened this issue May 26, 2021 · 0 comments

Comments

@Cubox
Copy link

Cubox commented May 26, 2021

Hi,

I sent an invalid json while trying to use scoutfish, and the binary received a SIGABRT. It happened in the json parsing code, the libc throws an exception due to incorrect token or something
frame #8: 0x0000000000291eaf scoutfishScout::parse_query(data=0x00007fffffffd900, is=0x00007fffffffdc80) at scout.cpp:634:12
631
632 */
633
-> 634 json j = json::parse(is);`

Tested string is ../scoutfish/src/scoutfish scout test.scout "{ "sub-fen": "8/8/p7/8/8/1B3N2/8/8" }"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant