aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2014-03-25 06:47:13 -0600
committerGreg Kroah-Hartman <[email protected]>2014-04-15 14:43:01 -0700
commitde4734bc651d19ed71ad30222aac9b1416e1bd52 (patch)
treee71fb13ae4101035196c48d9e28e3d09291b37de /net/lapb/lapb_out.c
parent21c5e8408d105386c54603aed2cae9195143d87d (diff)
staging/usbip: fix store_attach() sscanf return value check
sscanf() parses the input buffer for four input items. However, the return value check is incorrect, as it checks for one input item instead of four which is what it is expecting in the input buffer. As a result, sscanf() will always fail even when the input buffer is correct. Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions