]> iEval git - fonbot.git/commitdiff
Do not go OOM on malformed poll result
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 22 Mar 2013 22:03:39 +0000 (00:03 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 22 Mar 2013 22:03:39 +0000 (00:03 +0200)
A bug in the server caused it to send a single space as the response to a poll. This space was stored into a fixed-size 4MB string and passed to the json.org library, which finally OOMed. The string is variable-size and the maximum size was lowered to 2MB.


No differences found
This page took 0.025084 seconds and 4 git commands to generate.