mirror of
https://github.com/doctrine/reflection.git
synced 2026-03-24 08:42:07 +01:00
Missing error check after regex #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JimmyAx on GitHub (Aug 7, 2016).
An error check is missing after doing a preg_match() here. The code just ignores any errors, such as exceeding
pcre.backtrack_limit. This is also true for the current master branch.Found the missing error check when getting this Drupal error.
Something like this should be added after. Stolen from the Symfony YAML parser.
@derrabus commented on GitHub (Aug 1, 2023):
I'm closing this issue since we're not actively maintaining this library anymore.