bug #42032 [HttpKernel] recover from failed deserializations (xabbuh)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpKernel] recover from failed deserializations

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #42031
| License       | MIT
| Doc PR        |

Commits
-------

d10b3a63e5 recover from failed deserializations
This commit is contained in:
Nicolas Grekas 2021-07-09 15:41:39 +02:00
commit 068429ed3c

View File

@ -298,7 +298,7 @@ class Store implements StoreInterface
return [];
}
return unserialize($entries);
return unserialize($entries) ?: [];
}
/**