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

Add CBOR recursion limits and native stack check #2340

Merged
merged 2 commits into from
Jul 4, 2020

Conversation

svaarala
Copy link
Owner

@svaarala svaarala commented Jul 4, 2020

Fixes #2327.

svaarala added 2 commits July 4, 2020 01:25
* Add 'json' to function names for consistency, e.g. duk__dec_xxx() to
  duk__json_dec_xxx().

* Remove 'JSON' from recursion limit error messages, it is usually
  apparent from the context and can be shared by CBOR encode/decode.
@svaarala svaarala added this to the v3.0.0 milestone Jul 4, 2020
@svaarala svaarala merged commit cdd1add into master Jul 4, 2020
@svaarala svaarala deleted the fix-cbor-recursion-limit branch July 4, 2020 20:34
@svaarala svaarala mentioned this pull request Jul 4, 2020
21 tasks
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.

Infinite Recursion in CBOR.encode
1 participant