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

jit: fail early in ffcps_* if subject shorter than offs1 #175

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

carenas
Copy link
Contributor

@carenas carenas commented Dec 9, 2022

This is the minimal change required to solvce the reported crash and has been validated in production.

Fixes: #86

FF_FUN would try loading a vector from an invalid address
triggering a crash.

Add the same check that is done in the x86/s390x implementations
and that was missing from the original code.

Fixes: PCRE2Project#86
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.

Debugging segfault on aarch64 (ARM)
2 participants