Perl: the Markov chain saw | |
PerlMonks |
Re^5: creating qr from existing regexby Your Mother (Archbishop) |
on Feb 09, 2018 at 18:30 UTC ( [id://1208849]=note: print w/replies, xml ) | Need Help?? |
In addition to what AnomalousMonk said. Plain regular expressions can be constructed to be DoS attacks; even unintentionally. The handling varies from Perl version to version and I am pretty sure regular expressions were impossible to interrupt with a timeout historically so the "attack" was impossible to guard against. I have no idea if this is still the case in newer versions or when it changed if it did.
In Section
Seekers of Perl Wisdom
|
|