Fixes to pointer arithmetics in Unit RegExpr when using Unicode strings/characters
Original Reporter info from Mantis: gerrit
-
Reporter name: Gerrit Moeller
Original Reporter info from Mantis: gerrit
- Reporter name: Gerrit Moeller
Description:
Unit: RegExpr
When using UNICODE compiling and evaluating regular expressions with unit RegExpr crashes with SIFSEV due to invalid pointer artihmetic.
I fixed that.
Fixed uniit is attached to this Issue.
Steps to reproduce:
Example:
regex pattern := '-.*';
value := '15.09.2008-31.10.2008';
optional: Replacement := '';
Additional information:
mantis file upload not working (FireFox v87.0)
Please contact: freepascal@gm-software.de
I send you the fixed unit via email.
Mantis conversion info:
- Mantis ID: 38775
- OS: All
- OS Build: All
- Platform: All
- Version: 2.0.13 (SVN)