Bug#1118267: scp.c: typo in sink method
Source: openssh
Version: 10.0p1
Tags: patch
Actually it's not a bug, just typo in the line 1916.
So, megapatch:
--- scp.c 2025-10-12 12:07:36.000000000 +0300
+++ scp.patch.c 2025-10-17 18:50:54.208854793 +0300
@@ -1913,7 +1913,7 @@
j = atomicio6(read, remin, cp, amt,
scpio, &statbytes);
if (j == 0) {
- run_err("%s", j != EPIPE ?
+ run_err("%s", errno != EPIPE ?
strerror(errno) :
"dropped connection");
exit(1);
Linux HOMEPC 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64 GNU/Linux
Have a nice day,
Stan
Reply to: