Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178096580
D45823.1795949588.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
626 B
Referenced Files
None
Subscribers
None
D45823.1795949588.diff
View Options
diff --git a/crypto/openssh/clientloop.c b/crypto/openssh/clientloop.c
--- a/crypto/openssh/clientloop.c
+++ b/crypto/openssh/clientloop.c
@@ -608,8 +608,9 @@
if (timespeccmp(&now, &chaff_until, >=)) {
/* Stop if there have been no keystrokes for a while */
stop_reason = "chaff time expired";
- } else if (timespeccmp(&now, &next_interval, >=)) {
- /* Otherwise if we were due to send, then send chaff */
+ } else if (timespeccmp(&now, &next_interval, >=) &&
+ !ssh_packet_have_data_to_write(ssh)) {
+ /* If due to send but have no data, then send chaff */
if (send_chaff(ssh))
nchaff++;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 29, 10:53 AM (10 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42065064
Default Alt Text
D45823.1795949588.diff (626 B)
Attached To
Mode
D45823: OpenSSH: correct logic error in ObscureKeystrokeTiming
Attached
Detach File
Event Timeline