eclipse-threadx / usbx

Eclipse ThreadX - USBX is a high-performance USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Eclipse ThreadX RTOS
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/usbx/index.md
MIT License
146 stars 87 forks source link

Fixed unicode string copy issue in host pima storage info get. #161

Closed xiaocq2001 closed 3 months ago

xiaocq2001 commented 3 months ago

Fixed unicode string length calculation in host pima storage info get. Added length check before memory copy to confirm the memory buffer space is enough for the unicode string.