[ET Trac] [Einstein Toolkit] #937: CCTK_RegexMatch does not return a distinguishable error condition when the regular expression is invalid
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue May 29 22:55:36 CDT 2012
#937: CCTK_RegexMatch does not return a distinguishable error condition when the
regular expression is invalid
---------------------+------------------------------------------------------
Reporter: rhaas | Owner:
Type: defect | Status: review
Priority: minor | Milestone:
Component: Cactus | Version:
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by rhaas):
I updated the patch to output a ALERT level warning in the routines
calling RegexMatch. It's actualy rather hard to actually trigger it though
right now. The only callers of RegexMatc hare the routines that validate
parameter ranges. Since the perl configuration scripts already check
regular expressions for correctness one has to construct a valid perl
regex that fails in C (the perl extended regex {{{(?|.*)}}} does the
trick).
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/937#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list