]> git.pld-linux.org Git - packages/mosh.git/commitdiff
- new auto/th/mosh-1.3.2-4
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 24 Sep 2018 05:17:13 +0000 (07:17 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Mon, 24 Sep 2018 05:17:13 +0000 (07:17 +0200)
mosh-gcc8.patch [new file with mode: 0644]

diff --git a/mosh-gcc8.patch b/mosh-gcc8.patch
new file mode 100644 (file)
index 0000000..4886c1b
--- /dev/null
@@ -0,0 +1,13 @@
+--- mosh-1.3.2/src/frontend/mosh-server.cc~    2017-07-22 23:14:53.000000000 +0200
++++ mosh-1.3.2/src/frontend/mosh-server.cc     2018-09-24 07:13:02.243766616 +0200
+@@ -764,8 +764,8 @@
+             throw NetworkException( std::string( "serve: getnameinfo: " ) + gai_strerror( errcode ), 0 );
+           }
+-          char tmp[ 64 ];
+-          snprintf( tmp, 64, "%s via mosh [%d]", host, getpid() );
++          char tmp[ 64 + NI_MAXHOST ];
++          snprintf( tmp, 64 + NI_MAXHOST, "%s via mosh [%d]", host, getpid() );
+           utempter_add_record( host_fd, tmp );
+           connected_utmp = true;
This page took 0.129376 seconds and 4 git commands to generate.