mfd: dln2: Add a limit check for invalid echo
The echo field in dln2_transfer_complete comes directly from an USB transfer and we should not trust it is valid. Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NOctavian Purdila <octavian.purdila@intel.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
Showing
想要评论请 注册 或 登录