[BUGFIX] Prevent fatal when importing a t3d file without fal information 67/31767/3
authorSascha Egerer <sascha.egerer@dkd.de>
Thu, 24 Jul 2014 15:44:16 +0000 (17:44 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 25 Jul 2014 10:02:15 +0000 (12:02 +0200)
commitadc0ed3dd28128e253f83fe50239574de3cd4f01
tree4b98c3dd76aa95f8ce9ac51ceeb7a9de24eeb358
parentaecaed882ac65c219a0f60cd71bc80087a4a21e2
[BUGFIX] Prevent fatal when importing a t3d file without fal information

Currently the importer expects that an imported t3d file contains
data for fal. This is not the case if the t3d file comes from
a TYPO3 4.5 installation.

As a result a fatal error is caused because fread is called with
a length of 0.

Resolves: #60540
Releases: 6.3, 6.2
Change-Id: Ib112200c2b6cba0252440cd370d57a6ccd048bf2
Reviewed-on: http://review.typo3.org/31767
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/impexp/Classes/ImportExport.php