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 crashes in DUMP output #350

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Apr 7, 2024

  • avoid crashing on invalid atoms in JS_AtomGetStrRT
  • do not dump objects and function_bytecode during JS_GC_PHASE_REMOVE_CYCLES phase
  • fix crash in print_lines on null source

- avoid crashing on invalid atoms in `JS_AtomGetStrRT`
- do not dump objects and function_bytecode during
  `JS_GC_PHASE_REMOVE_CYCLES` phase
- fix crash in `print_lines` on null source
quickjs.c Show resolved Hide resolved
Copy link
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@chqrlie chqrlie merged commit 97c9186 into quickjs-ng:master Apr 8, 2024
46 checks passed
@chqrlie chqrlie deleted the fix-dump-crashes branch April 8, 2024 19:25
@saghul
Copy link
Contributor

saghul commented Apr 8, 2024

Does this one fix #2 ?

@chqrlie
Copy link
Collaborator Author

chqrlie commented Apr 8, 2024

Does this one fix #2 ?

Yes it does !

@saghul
Copy link
Contributor

saghul commented Apr 8, 2024

Fantastic!

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.

3 participants