sd/source/ui/remotecontrol/BluetoothServer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 84c73c983577e33dda266bbfcdd89b9e1202906b
Author: Juergen Funk <juergen.funk...@cib.de>
Date:   Tue Apr 28 14:12:39 2015 +0200

    Fix tdf#90911 wrong parameter size on getsockname
    
    This was crashing on selected versions for Windows.
    
    Change-Id: I7e9dd39db06f6ed93d2ae0d49275387e53983a89
    Reviewed-on: https://gerrit.libreoffice.org/15559
    Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>
    Tested-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx 
b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index de02dbd..13c69d1 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -1345,7 +1345,7 @@ void SAL_CALL BluetoothServer::run()
     }
 
     SOCKADDR aName;
-    int aNameSize = sizeof(aAddr);
+    int aNameSize = sizeof(aName);
     getsockname( aSocket, &aName, &aNameSize ); // Retrieve the local address 
and port
 
     CSADDR_INFO aAddrInfo;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to