Summary: | EDITING Regex Find & Replace foo[^\[:alpha:\]] causes Writer to become unresponsive | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Christopher M. Penalver <christopher.m.penalver> |
Component: | UI | Assignee: | Eike Rathke <erack> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | LibreOffice |
Version: | 3.3.0 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | ProposedEasyHack, TopicUI | ||
i915 platform: | i915 features: |
Description
Christopher M. Penalver
2011-10-12 19:49:55 UTC
[Reproducible] with Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) English UI [(Build ID: d3d1481-3f8994a-2ba0a9f)]" (110909) Also [Reproducible] with "LibreOffice 3.4.3 - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:302)]" CALC This may be simplified: regex-search for [[:\] The following (inline) patch avoids the infinite loop, by advancing the starting point if we fall into the [: a second time. --- a/regexp/source/reclass.cxx +++ b/regexp/source/reclass.cxx @@ -1255,6 +1255,7 @@ Regexpr::regex_compile() break; } else { p = p1+1; + p1 ++; last_char = (sal_Unicode)':'; set_list_bit(last_char, b); } |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.