-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: errors in UriString.php on line 455 & other errors #21
Comments
@ntzm nice catch 👍 could you share the complete setup you use to get this error ? I'm interested by this, I might found other bugs this way. Either way I'll try to fix this or you can also submit a PR for that if you got the time. |
Here's my setup https://github.com/ntzm/php-fuzzer-tests |
I will submit a PR shortly |
The error happens because |
yes indeed the two |
@ntzm now I remember why the order was what it was.... check this basically if we want to correctly cover our grounds we need to check the last parameter populated by reference
What do you think ? |
Makes sense, will update |
I think we might in this case even add a comment inside the code so that we don't forget why the check is made this way. Otherwise futur me/us will find this check strange and may introduce a bug while thinking he/she his fixing an inconsistency 😄 |
anyway I'll review your updated PR in time thanks for the work 👍 |
Bug Report
Summary
Standalone code, or other way to reproduce the problem
Expected result
Parse error
Actual result
Throws:
Found with https://github.com/nikic/PHP-Fuzzer
The text was updated successfully, but these errors were encountered: