commit | 2f5c638ced00fff2356ce0a02f16c8e928259750 | [log] [tgz] |
---|---|---|
author | Christopher Harvey <charvey@matrox.com> | Fri Mar 23 10:55:25 2012 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 10 09:47:06 2012 -0700 |
tree | 77817ec12b268d756796af18177bfa8a784b435a | |
parent | 310c6a762e224ae38efac304c936b82ad89a4ff1 [diff] |
staging: usbip: fix potential segfault because of unchecked return value of strchr. 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>