[BUGFIX] Installtool blocked when session file is empty 35/51835/4
authorTimo Schmidt <timo.hund@yahoo.com>
Fri, 24 Feb 2017 15:38:36 +0000 (16:38 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 26 Feb 2017 20:42:45 +0000 (21:42 +0100)
commit653e22f648a8a0f13f92271c5abe7fb895d388c6
tree18478592fa2352e0df2bbedb253b80d6db94b9c1
parent27793e3512e731842d7464a9314452fc48e9efa3
[BUGFIX] Installtool blocked when session file is empty

When the session information is fetched from the file system it can
happen that the session file is empty.

We should check for the file length and only read it, when the file
length is larger then 0.

Change-Id: I8857efc54f76c56984bc3486064b622b05e488b8
Resolves: #79955
Releases: master
Reviewed-on: https://review.typo3.org/51835
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/install/Classes/Service/SessionService.php