Bug #30623
closedcall cObj->includeLibs without check if $conf is an array
0%
Description
In some situations $conf is not an array. e.g. if an extension has a wrong typoscript configuration.
in this case there are hundreds of error_log entries like this:
Core: Error handler (FE): PHP Catchable Fatal Error: Argument 1 passed to tslib_cObj::includeLibs() must be an array, string given, called in /.../htdocs/typo3-src/typo3_src-4.5.6/typo3/sysext/cms/tslib/content/class.tslib_content_user.php on line 50 and defined in /.../htdocs/typo3-src/typo3_src-4.5.6/typo3/sysext/cms/tslib/class.tslib_content.php line 6783
On line 50 in cms/tslib/content/class.tslib_content_user.php the function cObj->includeLibs is called without a check if the given argument ($conf) is an array.
I have fixed this, the patch file is attached.
Files
Updated by Frank Nägler about 13 years ago
- File bug_30623.diff bug_30623.diff added
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change Id98c1b584969082f72f55372618f9e72b210e019 has been pushed to the review server.
It is available at http://review.typo3.org/5611
Updated by Frank Nägler about 13 years ago
please see the http://review.typo3.org/5610 this is the main change, sorry for the double commit, it was my first git/review patch :(
Updated by Mr. Hudson about 13 years ago
Patch set 2 of change Id98c1b584969082f72f55372618f9e72b210e019 has been pushed to the review server.
It is available at http://review.typo3.org/5611
Updated by Mr. Hudson about 13 years ago
Patch set 3 of change I8ed20a4fd5335d59cb9150334ed218be0bc759cc has been pushed to the review server.
It is available at http://review.typo3.org/5610
Updated by Mr. Hudson about 13 years ago
Patch set 4 of change I8ed20a4fd5335d59cb9150334ed218be0bc759cc has been pushed to the review server.
It is available at http://review.typo3.org/5610
Updated by Mr. Hudson about 13 years ago
Patch set 5 of change I8ed20a4fd5335d59cb9150334ed218be0bc759cc has been pushed to the review server.
It is available at http://review.typo3.org/5610
Updated by Mr. Hudson about 13 years ago
- Status changed from New to Under Review
Patch set 6 of change I8ed20a4fd5335d59cb9150334ed218be0bc759cc has been pushed to the review server.
It is available at http://review.typo3.org/5610
Updated by Mr. Hudson about 13 years ago
Patch set 7 of change I8ed20a4fd5335d59cb9150334ed218be0bc759cc has been pushed to the review server.
It is available at http://review.typo3.org/5610
Updated by Gerrit Code Review almost 13 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/5610
Updated by Gerrit Code Review almost 13 years ago
Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/5610
Updated by Gerrit Code Review almost 13 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9009
Updated by Philipp Gampe over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset a43c75c0140585fd15161e9551bc110be62c52ec.