Re: [PATCH] soc: qcom: qmi_interface: Limit txn ids to U16_MAX
From: Andy Gross
Date: Wed Nov 14 2018 - 13:02:42 EST
On Wed, Oct 03, 2018 at 11:10:02AM +0530, Arun Kumar Neelakantam wrote:
> Txn IDs created up to INT_MAX cause overflow while storing
> the IDs in u16 type supported by QMI header.
>
> Limit the txn IDs max value to U16_MAX to avoid overflow.
>
> Signed-off-by: Arun Kumar Neelakantam <aneela@xxxxxxxxxxxxxx>
> ---
Thanks for sending this in. I'll queue it up.
Andy