aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Proxy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ChannelEndPoint.cpp: fix possible memleak in getUnixPath()Ulrich Sibiller2017-12-291-1/+1
|
* ChannelEndPoint.cpp: fix another memleakUlrich Sibiller2017-12-291-1/+1
| | | | | | | | | | | | | | | ==7689== 50 bytes in 5 blocks are definitely lost in loss record 1 of 2 ==7689== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7689== by 0x54074D9: strndup (strndup.c:43) ==7689== by 0x4E7D803: ChannelEndPoint::getTCPHostAndPort(char**, long*) const (ChannelEndPoint.cpp:309) ==7689== by 0x4EC9D93: ConnectToRemote(ChannelEndPoint&) [clone .constprop.144] (Loop.cpp:6660) ==7689== by 0x4ECB94E: SetupProxyConnection() (Loop.cpp:3204) ==7689== by 0x4ECE824: handleNegotiationInLoop(int&, fd_set&, fd_set&, timeval&) [clone .isra.129] (Loop.cpp:14312) ==7689== by 0x4ED0F8A: NXTransPrepare (Loop.cpp:2575) ==7689== by 0x4ED1C35: NXTransContinue (Loop.cpp:1609) ==7689== by 0x4ED1D7B: WaitCleanup() (Loop.cpp:4440) ==7689== by 0x4ED2343: NXTransProxy (Loop.cpp:1234) ==7689== by 0x400B2A: main (Main.c:111)
* nxcomp: implement correct length handling for unix socket structsUlrich Sibiller2017-12-291-12/+6
| | | | (partially) fixes ArcticaProject/nx-libs#612
* nxcomp: use lowercase abbreviations for seconds and millisecondsUlrich Sibiller2017-12-021-19/+19
|
* nxcomp/src/{Loop,Proxy}.cpp: On Debian/kFreeBSD (and other *BSD variants) ↵Mike Gabriel2017-09-061-0/+8
| | | | | | the sockaddr_un.sun_path property is 104 chars long, not 108. Hard-coding Unix domain sockets in nxcomp the string length 104. Fixes ArcticaProject/nx-libs#507.
* nxcomp/src/Proxy.cpp: Fix index usage of nested loops.Mike Gabriel2017-07-261-5/+5
|
* nxcomp: Trivially fix local variables shadowing variables of same name from ↵Mike Gabriel2017-07-261-10/+10
| | | | higher scope.
* nxcomp: Switch to autoreconf.Mike Gabriel2017-07-261-0/+6529