Skip to content

poc(javascript): Demonstrate non-terminating javascript code escape#7348

Closed
mikhail5555 wants to merge 1 commit intoprojectdiscovery:devfrom
mikhail5555:poc/infinite-loop-javascript
Closed

poc(javascript): Demonstrate non-terminating javascript code escape#7348
mikhail5555 wants to merge 1 commit intoprojectdiscovery:devfrom
mikhail5555:poc/infinite-loop-javascript

Conversation

@mikhail5555
Copy link
Copy Markdown
Contributor

@mikhail5555 mikhail5555 commented Apr 16, 2026

PoC for #7349

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 16, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f44a32fb-7c73-4134-ae50-29c46cdccf37

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment on lines +64 to +69
if (token[i] === "-") {
// Distro tag starts here — discard accumulated chars and
// restart scan from position 0 to re-validate the prefix.
result = "";
i = 0;
continue;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"buggy infinite loop"

@dwisiswant0
Copy link
Copy Markdown
Member

I'll go ahead and close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants