You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fuzzing reveals that CsvEncoder throws a fatal error with some values:
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/pierre/www/fuzzer/vendor/symfony/serializer/Encoder/CsvEncoder.php:179
How to reproduce
Here is the smallest value I was able to reproduce with:
<?phprequire__DIR__.'/vendor/autoload.php';
$encoder = new \Symfony\Component\Serializer\Encoder\CsvEncoder();
var_dump($encoder->decode(',.,', 'csv'));
Symfony version(s) affected
7.0.6
Description
Fuzzing reveals that CsvEncoder throws a fatal error with some values:
How to reproduce
Here is the smallest value I was able to reproduce with:
Possible Solution
No response
Additional Context
I am using php-fuzzer to test various input.
The text was updated successfully, but these errors were encountered: