Project

General

Profile

Actions

Bug #28833

closed

INTincScript_process: array check too late

Added by Björn Pedersen over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Found by reading:

 
                $INTiS_key = 'INT_SCRIPT.'.substr($INTiS_cPart,0,32);
                $GLOBALS['TT']->push('Include '.$INTiS_config[$INTiS_key]['file'],'');
                $incContent='';
                if (is_array($INTiS_config[$INTiS_key]))    {
                    $INTiS_cObj = unserialize($INTiS_config[$INTiS_key]['cObj']);
                    /* @var $INTiS_cObj tslib_cObj */
                    $INTiS_cObj->INT_include=1;

$INTiS_config[$INTiS_key] is accessed as array (subkey ['file']) before the is_array check.

Actions #1

Updated by Björn Pedersen over 13 years ago

Additionally, the output is processed, even if uninitalized.

Actions #2

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #3

Updated by Susanne Moog over 13 years ago

  • Status changed from New to Under Review
Actions #4

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #5

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #6

Updated by Mr. Hudson over 13 years ago

Patch set 4 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #7

Updated by Mr. Hudson over 13 years ago

Patch set 5 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #8

Updated by Mr. Hudson over 13 years ago

Patch set 6 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #9

Updated by Mr. Hudson over 13 years ago

Patch set 7 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #10

Updated by Mr. Hudson over 13 years ago

Patch set 8 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #11

Updated by Mr. Hudson about 13 years ago

Patch set 9 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #12

Updated by Mr. Hudson about 13 years ago

Patch set 10 of change Ia1355206b2a2e7bdc1cfa9b15402abb2ef3f36d5 has been pushed to the review server.
It is available at http://review.typo3.org/4215

Actions #13

Updated by Björn Pedersen about 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF