diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /net-misc/openssh-x/files/openssh-5.6_p1-hpn-progressmeter.patch |
Added ebuilds for kogaion desktop
Diffstat (limited to 'net-misc/openssh-x/files/openssh-5.6_p1-hpn-progressmeter.patch')
-rw-r--r-- | net-misc/openssh-x/files/openssh-5.6_p1-hpn-progressmeter.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-misc/openssh-x/files/openssh-5.6_p1-hpn-progressmeter.patch b/net-misc/openssh-x/files/openssh-5.6_p1-hpn-progressmeter.patch new file mode 100644 index 00000000..5fe18dfc --- /dev/null +++ b/net-misc/openssh-x/files/openssh-5.6_p1-hpn-progressmeter.patch @@ -0,0 +1,15 @@ +don't go reading random stack values + +already e-mailed to upstream hpn devs + +--- progressmeter.c ++++ progressmeter.c +@@ -183,7 +183,7 @@ + else + percent = 100; + +- snprintf(buf + strlen(buf), win_size - strlen(buf-8), ++ snprintf(buf + strlen(buf), win_size - strlen(buf) - 8, + " %3d%% ", percent); + + /* amount transferred */ |