Skip to content

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Dec 29, 2022

Closes #2286

The CI code scanning previously warned about our stack trace regexes having the potential for DoS due to backtracking and exponential time required for large input strings. We ignored these CI warnings since the JavaScript SDKs have always contained these regexes but since a customer has reported a 90 second hang caused by this it makes sense to add some sensible limits.

@timfish timfish self-assigned this Dec 30, 2022
Copy link
Member

@mydea mydea left a comment

Choose a reason for hiding this comment

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

Sounds reasonable to me! 👍

@mydea mydea requested review from a team, Lms24 and AbhiPrasad and removed request for a team January 4, 2023 12:42
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.

Extremely long delays when reporting errors with a long message
3 participants