Files
php-src/ext
Nikita Popov 08ae88157b Allocate zend_strings with correct size
For me (32bit) sizeof(zend_string) is 20, which means that the
char[1] array at the end is padded with three bytes. Thus allocating
based on sizeof(zend_string)-1 overallocates by those 3 padding bytes.

This commit fixes the allocation size, by using XtOffsetOf.
2014-04-23 19:34:51 +02:00
..
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-04-22 17:46:34 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:09:07 +08:00
2014-04-15 15:40:40 +04:00
2014-04-22 17:46:34 +04:00
2014-04-22 18:52:59 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 21:56:30 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:09:07 +08:00
2014-04-22 17:46:34 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-04-22 17:46:34 +04:00
2014-04-22 18:52:59 +04:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-04-22 17:46:34 +04:00
2014-04-23 18:30:24 +02:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-01-03 11:08:10 +08:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-01-03 11:08:10 +08:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00
2014-04-15 15:40:40 +04:00