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

fix: prevent crash when using include and fix compile error handling #22

Merged
merged 1 commit into from
May 10, 2022

Conversation

kjellwinblad
Copy link
Contributor

This commit fixes #20

It also fixes error handling so that error messages reported by calls
to jq_report_error from within the jq library are included in the
error return value and are not printed.

This commit fixes emqx#20

It also fixes error handling so that error messages reported by calls
to jq_report_error from within the jq library are included in the
error return value and are not printed.
@kjellwinblad kjellwinblad merged commit 98943a0 into emqx:main May 10, 2022
@qzhuyan
Copy link

qzhuyan commented May 10, 2022

Why do we need to set error callback in both create_jq_state_common and process_json_common?
Is that required by jq_compile ?

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

Successfully merging this pull request may close these issues.

Crash due to assertion error with some inputs
3 participants