Closed devinivy closed 2 years ago
This fixes an issue where the template argument of reachTemplate() can run in quadratic time based on its length for certain inputs. Many thanks to @ready-research for the find and disclosure, and to @nlf for the proposed fix.
template
reachTemplate()
This fixes an issue where the
template
argument ofreachTemplate()
can run in quadratic time based on its length for certain inputs. Many thanks to @ready-research for the find and disclosure, and to @nlf for the proposed fix.