commit | 988bd987af54fa0026767deac1eeae8c1e6d7711 | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Thu Jan 10 12:26:13 2013 +0800 |
committer | Andy Green <andy.green@linaro.org> | Thu Jan 10 12:45:54 2013 +0800 |
tree | 46c9d591a6f396403ff3a9d5b45d4a5056005ed4 | |
parent | ed3c840ed60a64aa22a02e926d3ad4c46e295a9f [diff] |
zlib code add OOM checks remove buffer expansion on rx path Here testing with the test serer and chrome 25, the buffer expansion code on Rx was triggered by a valid no data output condition and looped until it exhausted all memory. This patch adds OOM check to all malloc()s and removes the buffer expansion code on the rx path... leaving the code on tx path for now. Signed-off-by: Andy Green <andy.green@linaro.org>