> Am 22.9.2016 um 22:08 schrieb Stanislav Malyshev <smalys...@gmail.com>:
> 
> Hi!
> 
>> Yeah it introduces new functions for updating hash which is used by json
>> for updating array and it's also in std object handler which is used when
>> updating json object. For some other bits like updating array, it will stay
>> with fatal. The thing is that json parser can then easily check if there
>> was an exception and if so, it will set JSON_ERROR_DEPTH and clear it. It
>> seems much better though.
> 
> I'm not sure why special handling for JSON? JSON is certainly not the
> only way user data can be ingested and the problem of hash collision is
> common to all these ways.
> 
> -- 
> Stas Malyshev
> smalys...@gmail.com <mailto:smalys...@gmail.com>

The patch is not only targeting JSON. He just used JSON as an example.

Every function generating arrays with keys based on user-defined input needs to 
be updated.

I’m going to update the patch soon and will notify you then.

Bob




Reply via email to