Skip to content

infinite loop in the tokenizer  #29231

Closed
Closed
@rkirov

Description

@rkirov
Contributor

🐞 bug report

Affected Package

Bug in packages/compiler/src/ml_parser/lexer.ts

Is this a regression?

Likely caused by f7c867e

Description

A clear and concise description of the problem...

πŸ”¬ Minimal Reproduction

This snippet reproduces the infinite loop.

<input matInput type="text" formControlName="{{id}}
       id="input-{{section.id}}-{{id}}"">

🌍 Your Environment

Angular Version:


Google HEAD

Activity

rkirov

rkirov commented on Mar 11, 2019

@rkirov
ContributorAuthor

Duh, there is a missing ", that I just saw. In any case the tokenizer shouldn't go into infinite loop when faced with malformed input.

rkirov

rkirov commented on Mar 11, 2019

@rkirov
ContributorAuthor

The original intent of the authors was: <input matInput type="text" formControlName="{{id}}" id="input-{{section.id}}-{{id}}">

added this to the needsTriage milestone on Mar 11, 2019
added a commit that references this issue on Mar 15, 2019
e4657e6
added a commit that references this issue on Mar 20, 2019
dafbbf8
added 2 commits that reference this issue on Apr 17, 2019
6389076
7c0b094
angular-automatic-lock-bot

angular-automatic-lock-bot commented on Sep 14, 2019

@angular-automatic-lock-bot

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

locked and limited conversation to collaborators on Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area: coreIssues related to the framework runtime

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @petebacondarwin@rkirov@pkozlowski-opensource

    Issue actions

      infinite loop in the tokenizer Β· Issue #29231 Β· angular/angular