mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
d8b266f7b2
PD#SWPL-178364 Problem: setenv otg_device 0; saveenv reboot and panic Because 0; can cause otg_mode_string array out of bounds. Solution: Replace sprintf and strcmp with snprintf and strncmp Verify: c3 Change-Id: I561d4d0af7dc1068a040919fd906aa0757c19604 Signed-off-by: he.he <he.he@amlogic.com>