| commit | 232ebe34e1a7827c9ddd4f31e95e21ba498ae52c | [log] [tgz] |
|---|---|---|
| author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 02 11:27:14 2012 +0300 |
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | Tue Oct 02 14:16:21 2012 -0700 |
| tree | b2c0246166d9dbff998ae0da442e5049f799351b | |
| parent | 8ecf595bc2bb468f567eaa4ea5ffbf5d2c871b94 [diff] |
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>