diff options
author | Marcel Holtmann | 2007-01-08 02:16:31 +0100 |
---|---|---|
committer | David S. Miller | 2007-01-09 09:29:55 +0100 |
commit | 4d6a2188bd456969f52c03edf1988de90f08d9f5 (patch) | |
tree | ccbae1cf287db409d62c4178d417337ed4b409d1 /net/bluetooth/hci_sysfs.c | |
parent | [Bluetooth] More checks if DLC is still attached to the TTY (diff) | |
download | kernel-qcow2-linux-4d6a2188bd456969f52c03edf1988de90f08d9f5.tar.gz kernel-qcow2-linux-4d6a2188bd456969f52c03edf1988de90f08d9f5.tar.xz kernel-qcow2-linux-4d6a2188bd456969f52c03edf1988de90f08d9f5.zip |
[Bluetooth] Fix uninitialized return value for RFCOMM sendmsg()
When calling send() with a zero length parameter on a RFCOMM socket
it returns a positive value. In this rare case the variable err is
used uninitialized and unfortunately its value is returned.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
0 files changed, 0 insertions, 0 deletions