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-02-10 10:04:30 +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-21 22:36:01 +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-23 19:34:51 +02: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-23 10:58:08 +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-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-18 00:15:13 +02:00
2013-10-14 14:37:39 +02:00
2014-02-10 10:04:30 +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-23 18:30:24 +02:00
2014-04-23 19:34:51 +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
2013-07-17 23:18:13 +02:00