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 crashing forks when regex structure changed #982

Merged
merged 2 commits into from
Dec 18, 2020

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Dec 17, 2020

By submitting this pull request, I confirm the following:

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

How familiar are you with the codebase?:

10


Use fork-private regex substructure because each regex has an opaque structure (once compiled) and cannot be kept globally available through shared memory (at least not with any realistic effort)

…structure (once compiled) and cannot be kept globally available through shared memory (at least not with any realistic effort)

Signed-off-by: DL6ER <dl6er@dl6er.de>
@DL6ER DL6ER added the Bugfix label Dec 17, 2020
Signed-off-by: DL6ER <dl6er@dl6er.de>
@DL6ER
Copy link
Member Author

DL6ER commented Dec 17, 2020

Fixes #962

@DL6ER DL6ER marked this pull request as ready for review December 17, 2020 14:45
@DL6ER DL6ER added the PR: Approval Required Open Pull Request, needs approval label Dec 17, 2020
@PromoFaux PromoFaux added PR: Approved Open Pull Request, Approved by required number of reviewers and removed PR: Approval Required Open Pull Request, needs approval labels Dec 18, 2020
@DL6ER DL6ER merged commit 1dee0c3 into development Dec 18, 2020
@DL6ER DL6ER deleted the fix/tre-regex-forks branch December 18, 2020 15:56
This was referenced Dec 18, 2020
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/pi-hole-core-web-v5-2-2-and-ftl-v5-3-3-released/41998/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix PR: Approved Open Pull Request, Approved by required number of reviewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants