[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024102927-colossal-shore-0f46@gregkh>
Date: Tue, 29 Oct 2024 03:30:38 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Rex Nie <rex.nie@...uarmicro.com>
Cc: bryan.odonoghue@...aro.org, heikki.krogerus@...ux.intel.com,
linux-arm-msm@...r.kernel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, angus.chen@...uarmicro.com
Subject: Re: [PATCH] usb: typec: qcom-pmic: fix uninitialized value hdr_len
and txbuf_len
On Tue, Oct 29, 2024 at 10:18:23AM +0800, Rex Nie wrote:
> If the read of USB_PDPHY_RX_ACKNOWLEDGE_REG failed, then hdr_len and
> txbuf_len are uninitialized. It makes no sense to print message header
> and payload. It is also not safe to print uninitialized length of ram.
>
> Signed-off-by: Rex Nie <rex.nie@...uarmicro.com>
What commit id does this fix?
thanks,
greg k-h
Powered by blists - more mailing lists