Fix crash when download bz2 from httpuuu_1.4.201
commit005ff6f7c63b3f2fbfc8c29761d97fda45bbe7c3
authorFrank Li <Frank.Li@nxp.com>
Tue, 26 Apr 2022 21:00:24 +0000 (26 16:00 -0500)
committerFrank Li <Frank.Li@nxp.com>
Tue, 26 Apr 2022 21:00:24 +0000 (26 16:00 -0500)
treedb8e5c97bf21aa84fe4554d08c6c95c349ac4f4f
parent1dc59a15bae7f52e70c8d5b7b790bcfd7960bdaa
Fix crash when download bz2 from http

Missed lock when reserve bigger buffer
Decompress thread will write to buffer, which already free

Signed-off-by: Frank Li <Frank.Li@nxp.com>
libuuu/buffer.cpp