#26091Call to stdWrap() of non-existant $this->cObj in GifBuilder
Description
A PHP Fatal Error occurs in tslib_gifBuilder::checkTextObj(), because $this->cObj is not set, however this->cObj->stdWrap() is called.
A few lines later, a local variable $cObj is initialized.
function checkTextObj($conf) {
1 $isStdWrapped = array();
2 foreach($conf as $key => $value) {
3 $parameter = rtrim($key,'.');
4 if(!$isStdWrapped[$parameter] && isset($conf[$parameter.'.'])) {
5 $conf[$parameter] = $this->cObj->stdWrap($conf[$parameter], $conf[$parameter.'.']);
6 $isStdWrapped[$parameter] = 1;
7 }
8 }
...
17 $cObj =t3lib_div::makeInstance('tslib_cObj');
18 $cObj->start($this->data);
(call in line 5)