-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
Migrate from PCRE to PCRE2 #356387
Comments
We need to be careful with services that have systemd hardening because they can block the PCRE2 jit like eg #179444 |
Here's a list of all the packages in
This is probably going to be much harder than expected. |
@pluiedev I tried to gather a more complete list of the packages. Here the command I have used: grep -Pr "(,|\s)pcre($|\s|,)" $(find . -name "*.nix") | nix run nixpkgs\#filterpath | uniq It reports a total of 235 path: https://gist.github.com/Sigmanificient/ddeb121b250c6d8ac79ec604a3c54640 |
Nim is not using PCRE2 yet. If necessary we can remove |
PCRE2 was released in 2015. The original PCRE is end‐of‐life and will not receive further bug fixes. Debian decided to remove it years ago (they called their original‐PCRE package
pcre3
for historical reasons), filed mass bug reports against packages still using it, and it has been gone entirely since the release of Bookworm last year. We should follow suit, upgrading packages to PCRE2 where possible and considering dropping obsolete software that won’t get updated to a supported version, especially if it processes untrusted input.Issues and PRs
The text was updated successfully, but these errors were encountered: