Re: Re: 5.3.9, Hash DoS, release

From: Date: Mon, 09 Jan 2012 16:50:11 +0000
Subject: Re: Re: 5.3.9, Hash DoS, release
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-57299@lists.php.net to get a copy of this message
Hi: I am not sure whether you have understood my point. If an array have more than 1024 buckets in an same bucket list(same index), there must already be an performance issue. Sent from my iPhone 在 2012-1-10,0:41,Stefan Esser <stefan@nopiracy.de> 写道: > Hey, > >> That is Restricting a max length of a buckets list in a hash table. >> >> If a bucket's length exceed 1024, any insertion into this bucket >> will return failure and a warning will be generated. >> >> What do you think? > > very bad idea. Especially when it comes to numerical indices a legitimate application might put > data into a big array and have legitimate colliding keys. > > Regards, > Stefan Esser

« previous php.internals (#57299) next »