-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix logger overwriting vars in some circumstances #32898
Conversation
/backport to stable25 |
/backport to stable24 |
/backport to stable23 |
special thanks to @miaulalala and @mgallien for the debugging sessions <3 |
5da846c
to
52839f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nasty one
866baac
to
7d443de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7d443de
to
8b2b594
Compare
The backport to stable25 failed. Please do this backport manually. |
/backport to stable22 |
off by one 🤭 |
We were investigating one case, indicated by the error
foreach() argument must be of type array|object, string given
This can be reproduce like this:
1.) in php.ini, zend.exception_ignore_args is set to "Off" (PHP default, check distro in doubt)
2.) app files_lock enabled
3.) use an addressbook client (like KAddressbook)
4.) there, add a new contact
You will see an exception like:
The hidden issue is that a variable, passed by reference, was overwritten. I used to be an array and was turned into a string
*** sensitive parameter replaced ***
.Now we have a test to reproduce the issue and the fix.
This problem popped up in a related scenario, where we committed a temporary fix: #32685