From: Marcel Holtmann Date: Mon, 8 Jan 2007 01:16:31 +0000 (+0100) Subject: [Bluetooth] Fix uninitialized return value for RFCOMM sendmsg() X-Git-Tag: v2.6.20-rc5~33^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d6a2188bd456969f52c03edf1988de90f08d9f5;p=pandora-kernel.git [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 --- Reading git-diff-tree failed