Re: String is not zero-terminated in zend_execute_API.c

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

 



Am 21.10.2011 08:49, schrieb Daniel Betz:
> 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
> 
Hi Daniel,
do you work with a self compiled or width a distributions one?. The
failure is in the function
 zend_str_tolower(function_name_copy.value.str.val,
function_name_copy.value.str.len);

I think, if you have a self compiled or experimental version and you are
sure, that this is a bug, please place it into PHP Bugtracker. If you
are not sure, if this is a bug, becouse you change the source code or
use experimental code, use a distribution.

Greets
Carlos

-- 
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