[PATCH 1/1 v1] CVE-2022-30767: unbounded memcpy with a failed length check