Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace polynomial regex with simple string op #1015

Merged
merged 3 commits into from
Feb 9, 2025

Conversation

patricebender
Copy link
Member

@patricebender patricebender commented Feb 7, 2025

This change not only removes the potential for catastrophic backtracking, but it is also more direct and generally more efficient, resolves:
https://github.com/cap-js/cds-dbs/security/code-scanning/4 & https://github.com/cap-js/cds-dbs/security/code-scanning/3

This change not only removes the potential for catastrophic backtracking, but it is also more direct and generally more efficient

addresses https://github.com/cap-js/cds-dbs/security/code-scanning/4 &
https://github.com/cap-js/cds-dbs/security/code-scanning/3
@patricebender patricebender merged commit 3fe6e6b into main Feb 9, 2025
6 checks passed
@patricebender patricebender deleted the patrice/redos branch February 9, 2025 12:51
@cap-bots cap-bots mentioned this pull request Feb 9, 2025
patricebender pushed a commit that referenced this pull request Feb 9, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>db-service: 1.17.2</summary>

##
[1.17.2](db-service-v1.17.1...db-service-v1.17.2)
(2025-02-09)


### Fixed

* replace polynomial regex with simple string op
([#1015](#1015))
([3fe6e6b](3fe6e6b))
</details>

<details><summary>postgres: 1.11.1</summary>

##
[1.11.1](postgres-v1.11.0...postgres-v1.11.1)
(2025-02-09)


### Fixed

* postgres build plugin w `--production`
([#1018](#1018))
([aafffc9](aafffc9))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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