Closed
Description
Symfony version(s) affected
5.4
Description
If the trace content contains binary strings, e.g. images, var_dump
leads to memory exhaustion (Allowed memory size of X bytes exhausted
).
How to reproduce
Cause an error with a code path that passes a longer binary string to a method.
Possible Solution
Check for non-unicode characters in a string and skip adding it to the formatted output.
Additional Context
No response