Debian Patches

Status for libre-engine-re2-perl/0.18+ds-1

Patch Description Author Forwarded Bugs Origin Last update
1003_utf8_flag.patch force treat scanned string as UTF-8 when compiled regex is UTF8 re::engine::RE2 is documented (in BUGS section of README)
to not handle UTF-8 correctly.
.
Without this patch,
scanning Latin1 string with UTF-8 regex reports wrong positions
or potentially crashes,
and misses e.g. "" (which Perl re engine correctly matches).
.
With this patch,
scanning UTF-8 string with UTF-8 regex should behave correctly,
and still misses e.g. "".
.
Scanning should be safer and more correct for UTF-8 strings,
with only known side-effect of being slower for non-UTF-8 strings
due to always upgrading string to UTF-8.
For faster scanning of known ASCII string, use an ASCII regex.
Todd Richmond <trichmond@proofpoint.com> yes upstream https://github.com/dgl/re-engine-RE2/pull/8 2023-06-21
2001_system_shared_lib.patch Use system shared libre2 Jonas Smedegaard <dr@jones.dk> yes upstream 2018-10-18

All known versions for source package 'libre-engine-re2-perl'

Links