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

Ensure regex authority is matched to fix sanitizer arrays #7866

Closed
wants to merge 1 commit into from

Conversation

kgpai
Copy link
Contributor

@kgpai kgpai commented Dec 4, 2023

Summary: It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902

Copy link

netlify bot commented Dec 4, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 4c4fc20
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/65711c8cfd43950008080d01

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 4, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 6, 2023
…cubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 6, 2023
…cubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 6, 2023
)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 6, 2023
…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 6, 2023
…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 6, 2023
…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 6, 2023
…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 7, 2023
…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 7, 2023
…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

kgpai added a commit to kgpai/velox-1 that referenced this pull request Dec 7, 2023
…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Reviewed By: mbasmanova

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

…sto functions (facebookincubator#7866)

Summary:

It is possible to trigger address sanitizer when passed garbage strings in matchAuthorityAndPath function. We need to ensure that subgroups are actually matched, since accessing an unmatched string can lead to asan errors.

Reviewed By: mbasmanova

Differential Revision: D51822902
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51822902

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 61ab60d.

Copy link

Conbench analyzed the 1 benchmark run on commit 61ab60dd.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants