-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove undocumented and untested --stream-errors option #2748
Conversation
EDIT: It should be an easy fix:
The problem is that we need to check for Now, the question is: is And this doesn't abort:
|
And:
|
One thing we should do is write a fuzzer for the streaming parser. Also, we should document what is and what is not fuzzed so that users who need better security know what features to use / not use. |
Okay, we need to fix the crash, and update the help (after #2747) and the manual. |
I'll try to get to it tomorrow. Maybe or maybe later tonight. |
This PR drops
--stream-errors
option. This option is undocumented, and untested. Also buggy;printf '[' | jq --stream-errors .
aborts with assertion error.