summaryrefslogtreecommitdiff
path: root/ext/standard/var_unserializer.c
Commit message (Collapse)AuthorAgeFilesLines
* Touch fileSascha Schumann2002-04-301-1/+1
|
* Fix couple of nasty serializer bugs:Stanislav Malyshev2002-04-281-150/+166
| | | | | | | | | | | | | a) When array unserializer encounters less data than it expects (like: a:1:{}) it crashes. I don't understand exactly why it does, but the fact is it does. So now it should catch "}" and bail out. b) When array/object data are serialized, the count is written by hash count. However, it can be that in-loop check fails and less data than expected will then be written into the array. Which, due to a), would crash on unserialize. So now it will write empty entries in place of entries it cannot serialize (the other choice would be make two passes on the data, which I don't like).
* touch fileSascha Schumann2002-03-181-1/+1
|
* removed anoying warningsHarald Radi2002-03-171-1/+1
|
* - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTRAndi Gutmans2002-03-121-1/+1
|
* - Remove CVS thingsDerick Rethans2002-03-071-1/+0
|
* touch fileSascha Schumann2002-03-071-1/+1
|
* increase timestamp, because make tries to regenerate this file without any ↵Sascha Schumann2001-12-051-0/+1
| | | | reason
* Allow unserializer_callback_func to be turned off.Bernd Roemer2001-12-021-1/+1
|
* Updated file since .re changed.foobar2001-11-261-4/+4
|
* - Adding a callback mechanism to the unserializer. (patch by BerndDerick Rethans2001-11-261-5/+34
| | | | | | Roemer <berndr@bonn.edu>) #- An explainatory e-mail will be send to php-dev
* Fix two incidents which have been reported about the new unserializer.Sascha Schumann2001-11-161-102/+192
| | | | | | | | | #1: forgot to handle negative numbers #2: added zval_ptr_dtor which was not in the original code which might lead to crash PR: #14082
* Rewrite of unserializer which should be more maintainable and extensible.Sascha Schumann2001-11-101-0/+635
Changes pass `make test´ and a couple of custom tests. Enjoy.