Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: remove ReDoS regexp#504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
TooTallNate merged 1 commit intodebug-js:masterfromzhuangya:redos
Sep 21, 2017
Merged

fix: remove ReDoS regexp#504

TooTallNate merged 1 commit intodebug-js:masterfromzhuangya:redos
Sep 21, 2017

Conversation

@zhuangya
Copy link
Contributor

  • split the line by '\n',
  • and trim each line(do we really need to trim each line?).
  • then join each line by ' '

i think this is the same as the original RegExp, correct me if wrong.

fix#501

@coveralls
Copy link

Coverage Status

Coverage increased (+2.1%) to 74.839% when pulling42a6ae0 on zhuangya:redos into47747f3 on visionmedia:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+2.1%) to 74.839% when pulling42a6ae0 on zhuangya:redos into47747f3 on visionmedia:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.1%) to 74.839% when pulling42a6ae0 on zhuangya:redos into47747f3 on visionmedia:master.

@TooTallNateTooTallNate merged commitc38a016 intodebug-js:masterSep 21, 2017
@TooTallNate
Copy link
Contributor

Thank you!

@dougwilson
Copy link
Contributor

Can this be backported to the 2.x series?

TooTallNate pushed a commit that referenced this pull requestSep 22, 2017
@TooTallNate
Copy link
Contributor

@dougwilson Sure thing:https://github.com/visionmedia/debug/releases/tag/2.6.9

Curious what's holding you back from upgrading though 😅

platinumazure added a commit to eslint/eslint that referenced this pull requestDec 18, 2017
This version of debug addresses a minor ReDoS issue. Seedebug-js/debug#501,debug-js/debug#504 for more information. Looking at the rest of the changelog, this should be a pretty low-risk upgrade.
aladdin-add pushed a commit to eslint/eslint that referenced this pull requestDec 19, 2017
This version of debug addresses a minor ReDoS issue. Seedebug-js/debug#501,debug-js/debug#504 for more information. Looking at the rest of the changelog, this should be a pretty low-risk upgrade.
@zhuangyazhuangya deleted the redos branchDecember 25, 2017 07:06
sodawy added a commit to sodawy/session that referenced this pull requestJan 6, 2018
stenalpjolly added a commit to stenalpjolly/express that referenced this pull requestAug 30, 2018
With reference to fix: remove ReDoS regexp(debug-js/debug#504)
@debug-jsdebug-js locked asoff-topicand limited conversation to collaboratorsJun 25, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Vulnerable Regular Expression

4 participants

@zhuangya@coveralls@TooTallNate@dougwilson

[8]ページ先頭

©2009-2025 Movatter.jp