OutOfBoundsException in LocalDriver.php
https://review.typo3.org/#/c/28560/8 introduced a regression.
OutOfBoundsException thrown in file typo3_src/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php in line 378.
This happens in the file list with more than one pages. As soon as one opens the last page, this exception appears.
[BUGFIX] Prevent OutOfBoundsException in filelist
Releases: master, 7.6
Reviewed-by: Wouter Wolters <email@example.com>
Reviewed-by: Christoph Kratz <firstname.lastname@example.org>
Tested-by: Christoph Kratz <email@example.com>
Reviewed-by: Philipp Gampe <firstname.lastname@example.org>
Tested-by: Philipp Gampe <email@example.com>