mbien commented on issue #7175:
URL: https://github.com/apache/netbeans/issues/7175#issuecomment-2009166097

   there might be ways to improve this if there is a missing cancel check 
somewhere, but there is no good defense against bad regexps.
   There is a reason why they are such popular entry point for DOS attacks. If 
your regexp matches against the whole file it won't stop until the file is 
processed - this won't be a problem for most expressions as long they are 
somewhat efficient since a single file is typically processed in much less than 
a second.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to