Skip to content

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
@chqrlie chqrlie force-pushed the fix-dump-crashes branch from 3244cbd to 508c7ce Compare April 8, 2024 14:45
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
@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

3 participants