target/usb-gadget: strlen() doesn't count the terminator
We need to take the terminator into consideration here or the last character gets silently truncated away later. Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Nicholas Bellinger <nab@linux-iscsi.org>
Showing
Please register or sign in to comment