String is not zero-terminated in zend_execute_API.c
| From: | Daniel Betz | Date: | Fri, 21 Oct 2011 06:49:04 +0000 |
| Subject: | String is not zero-terminated in zend_execute_API.c | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315376@lists.php.net to get a copy of this message | ||
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