Bug #68779 [Opn->Csd]: Incorrect sizeof

From: Date: Sat, 10 Jan 2015 16:12:20 +0000
Subject: Bug #68779 [Opn->Csd]: Incorrect sizeof
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189864@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68779&edit=1 ID: 68779 Updated by: laruence@php.net Reported by: bugreports at internot dot info Summary: Incorrect sizeof -Status: Open +Status: Closed Type: Bug Package: *General Issues Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2015-01-09 (Git) Block user comment: N Private report: N New Comment: Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src.git;a=commit;h=84f2311bc98dc2e1d45ce9e67615ce3592ed39c2 Log: Fixed #68779 (Incorrect sizeof) Previous Comments: ------------------------------------------------------------------------ [2015-01-09 14:38:39] bugreports at internot dot info Description: ------------ Hi, In /Zend/zend_API.c: 1011 class_type->static_members_table = emalloc(sizeof(zval*) * class_type->default_static_members_count); It should be sizeof(zval), no? Thanks, ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68779&edit=1

« previous php.bugs (#189864) next »