-
Notifications
You must be signed in to change notification settings - Fork 33
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
Past-the-end string parsing in extract_lexeme #17
Comments
Hi Futile, btw, is SYMBIOSYS publicly available? |
I have posted the quick fixes for both issues, thanks again for reporting those! |
Thanks for the quick confirmation! We are using a version of the KLEE symbolic execution engine (https://klee.github.io) with our implementation for C++ support, which is available from the existing PR: klee/klee#966. Thanks for the quick fixes! :) |
The first loop in
extract_lexeme
(link) will continue past the end of the given string if the last character before the terminating0
is a backslash (e.g.,./jtc -w '[\\' Bookmarks
).This is because the presence of the backslash will cause the iterator to be increased twice, thus skipping the terminating null-byte.
This bug was found using Symbolic Execution techniques developed in the course of the SYMBIOSYS research project at COMSYS, RWTH Aachen University. This research is supported by the European Research Council (ERC) under the EU's Horizon 2020 Research and Innovation Programme grant agreement n. 647295 (SYMBIOSYS).
The text was updated successfully, but these errors were encountered: