Skip to content

Parser infinite loop on open brace #43

Closed
@galpeter

Description

@galpeter

The js parser goes into an infinite loop if the input file contains this:

{

The engine loops in the preparse_scope (jerry-core/parser/js/parser.cpp) method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourcriticalRaises security concernsparserRelated to the JavaScript parser

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions