Re: [PATCH v3] soc: qcom: qmi_encdec: Restrict string length in decode

From: Bjorn Andersson
Date: Thu Aug 03 2023 - 12:35:41 EST



On Tue, 01 Aug 2023 12:17:12 +0530, Praveenkumar I wrote:
> The QMI TLV value for strings in a lot of qmi element info structures
> account for null terminated strings with MAX_LEN + 1. If a string is
> actually MAX_LEN + 1 length, this will cause an out of bounds access
> when the NULL character is appended in decoding.
>
>

Applied, thanks!

[1/1] soc: qcom: qmi_encdec: Restrict string length in decode
commit: 8d207400fd6b79c92aeb2f33bb79f62dff904ea2

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>