staging: usbip: fix potential segfault because of unchecked return value of strchr.
authorChristopher Harvey <charvey@matrox.com>
Fri, 23 Mar 2012 14:55:25 +0000 (10:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:47:06 +0000 (09:47 -0700)
This doesn't happen with the usbip virtual hci module, but another
module wanting to interface with this user space code could cause a
seg-fault by sending data without newlines.

Signed-off-by: Christopher Harvey <charvey@matrox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found