Skip to content

Crash on ill-formed input. #50

@mocabe

Description

@mocabe

Summary

Following code crashes mdmath extension.

>$$

$$

Actual behavior

After allocating huge amount of memory, extension crashes with error "FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory".

Steps to reproduce

Save following code as .md and open it with mdmath extension enabled.

>$$

$$

Related links

Environment

  Operating system: Win64
  VSCode version: Insider 1.25.0
  Markdown+Math version: v2.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions