Skip to content

Regular expression execution can panic #1242

Closed

Description

@Razican

The Function::add_rest_param() function can panic with the following error message:

thread 'main' panicked at 'Could not get slice', boa/src/builtins/regexp/mod.rs:413:56

This has been observed when running this ECMAScript test.

Interestingly this only happens when executing the full test suite, and not if we ask the backtrace or run the test individually.

Activity

  1. added
    A-Bug
    C-Builtins
    A-Execution
    on May 9, 2021
  2. added this to the v0.12.0 milestone on May 9, 2021
  3. modified the milestones: v0.12.0, v0.13.0 on May 22, 2021
  4. modified the milestones: v0.13.0, v0.12.0 on May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BugA-ExecutionC-Builtins

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions