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

Introduce an overall limit to link. ref. defs instantiations. #239

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Commits on Feb 7, 2024

  1. Introduce an overall limit to link. ref. defs instantiations.

    This is to prevent time and output size explosion in case of input
    pattern generated by this:
    
        $ python -c 'N=1000; print("[x]: " + "x" * N + "\n[x]" * N)'
    
    We roughly allow to blowing up the input size of the document
    16 times by link reference definitions or up to 1 MB, whatever is
    smaller. When the threshold is reached, following reference definitions
    are sent to output unresolved as a text.
    
    Fixes #238.
    mity committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    a2c20ba View commit details
    Browse the repository at this point in the history
  2. CHANGELOG.md: Update.

    mity committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    b71ceef View commit details
    Browse the repository at this point in the history