commit | 4d6a2188bd456969f52c03edf1988de90f08d9f5 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Mon Jan 08 02:16:31 2007 +0100 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jan 09 00:29:55 2007 -0800 |
tree | ccbae1cf287db409d62c4178d417337ed4b409d1 | |
parent | b6e557fbf1dbba8cfa667a25503e5dbd0e9330b7 [diff] |
[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>