Skip to content

Conversation

@github-roushan
Copy link
Contributor

Describe Your Changes

  • Changes panic strategy from 'abort' to 'unwind' in Cargo.toml to allow catch_unwind to handle panics from depending libraries.
  • Adds a 20MB file size limit to prevent Out-Of-Memory crashes with large files, defined in a new constants module.

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

github-roushan and others added 4 commits December 11, 2025 01:12
1. Changes panic strategy from 'abort' to 'unwind' in Cargo.toml to allow catch_unwind to handle panics from depending libraries.
2. Adds a 20MB file size limit to prevent Out-Of-Memory crashes with large files, defined in a new constants module.
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.

bug: Core dump in parsing bad PDF?

1 participant