String is not zero-terminated in zend_execute_API.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello List,

i am running PHP 5.3.8-FPM (with ondemand patch) in debug mode and got this error every time I post an reply in vBulletin Board:

Warnung: String is not zero-terminated (ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.ý4 ý4 ú}µóU) (source: /usr/src/php-5.3.8/Zend/zend_execute_API.c:447) in [path]/includes/functions_newpost.php(668) : eval()'d code (Zeile 34)

functions_newpost.php:
  29         if (!$allowicons)
  30         {
  31                 return false;
  32         }
  33
  34         $membergroups = fetch_membergroupids_array($vbulletin->userinfo);
  35         $infractiongroups = explode(',', str_replace(' ', '', $vbulletin->userinfo['infractiongroupids']));
  36
  37         ($hook = vBulletinHook::fetch_hook('posticons_start')) ? eval($hook) : false;
  38


function fetch_membergroupids_array($user, $getprimary = true)
{
        if (!empty($user['membergroupids']))
        {
                $membergroups = explode(',', str_replace(' ', '', $user['membergroupids']));
        }
        else
        {
                $membergroups = array();
        }

        if ($getprimary)
        {
                $membergroups[] = $user['usergroupid'];
        }

        return array_unique($membergroups);
}

I hope you can help, or may i open an bugreport to bugs.php.net ?

Greetings,
Daniel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux