Re: [PATCH v2 1/6] scsi: ufs: core: Validate string descriptors

From: Bart Van Assche

Date: Wed Jul 22 2026 - 14:11:25 EST


On 7/17/26 8:39 AM, Li Qiang wrote:
Allocate a zeroed bLength-sized buffer and copy only the UTF-16
payload. This preserves the raw buffer size consumed by the RPMB
device-ID ABI while avoiding the overread.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>