asp.net regex match running forever and hanging server

  • Thread starter Thread starter jason
  • Start date Start date
J

jason

I have some asp.net (vb) code that is being fed some variables.
Sometimes, the regex pattern can't be found the process hangs and start
eating up server cpu (at 99%) for several minutes until it finally
times out.

How can I force it to timeout earlier so that this does not happen?

Thanks.
 
I got that exact bug last year, I finally re-adjust my regex so that this do
not happened. I think it's a bug in the Microsoft RegEx analyzer.
 
Back
Top