From 9184f58dc78752c7b27d1c5ae4625208bd4d421d Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sun, 11 Jul 2021 12:14:08 +0800 Subject: [PATCH] Fix unicode invalid skip error in AssetLib (cherry picked from commit 0caaaf4018feddb1d3e6e75870df282715efd276) --- core/io/http_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp index 0c96d786f65..581362b51a0 100644 --- a/core/io/http_client.cpp +++ b/core/io/http_client.cpp @@ -662,6 +662,7 @@ PoolByteArray HTTPClient::read_response_body_chunk() { } } if (err != OK) { + ret.resize(_offset); break; } }