asp.net regex match running forever and hanging server

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.
 
J

Jc Morin

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top