Re: cvs: php-src(PHP_5_0) /ext/standard php_incomplete_class.h
| From: | Marcus Boerger | Date: | Mon, 10 Oct 2005 19:12:17 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_0) /ext/standard php_incomplete_class.h | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-34497@lists.php.net to get a copy of this message | ||
Hello Stanislav,
Monday, October 10, 2005, 9:05:05 PM, you wrote:
MB>>>size_t is a specialized typedef for the exact purpose, being capable of
MB>>>handling any size a pointer can store.
> Right.
MB>>>for you then most probably we have thousands of potential 64bit memory
MB>>>corruption issues. Or sizeof(zend_uint) is bigger then sizeof(size_t)
MB>>>which is then only a waste of time.
> Yes, it is. So you can not use address of size_t instead as zend_uint *, because
> when you assign uint *, part of size_t remains unassigned. This is the
> source of the bug.
Then why don't fix the bug but instead change some valid code?
Best regards,
Marcus