Messages in this thread | | | From | Bjorn Andersson <> | Subject | Re: [PATCH v3] soc: qcom: qmi_encdec: Restrict string length in decode | Date | Thu, 3 Aug 2023 09:38:07 -0700 |
| |
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@kernel.org>
| |