summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-17 15:04:29 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-17 15:04:29 -0400
commit31b9b1a5bb3d3fb60e39f5a789ee4fbc2009f6a4 (patch)
treeec0e8783bbf74a2a2f309ac1ba9937ac24009b96 /changes
parenta857f61e278aa5e5980722f9d458424b8790e9b1 (diff)
parent209229f100d20958d0826d4f6773d7f6b3a43ade (diff)
downloadtor-31b9b1a5bb3d3fb60e39f5a789ee4fbc2009f6a4.tar.gz
tor-31b9b1a5bb3d3fb60e39f5a789ee4fbc2009f6a4.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'changes')
-rw-r--r--changes/fix-connection_printf_to_buf15
1 files changed, 15 insertions, 0 deletions
diff --git a/changes/fix-connection_printf_to_buf b/changes/fix-connection_printf_to_buf
new file mode 100644
index 0000000000..e191eac8a5
--- /dev/null
+++ b/changes/fix-connection_printf_to_buf
@@ -0,0 +1,15 @@
+ * Code simplifications and refactoring:
+
+ - Make connection_printf_to_buf's behaviour sane. Its callers
+ expect it to emit a CRLF iff the format string ends with CRLF;
+ it actually emits a CRLF iff (a) the format string ends with
+ CRLF or (b) the resulting string is over 1023 characters long or
+ (c) the format string does not end with CRLF ''and'' the
+ resulting string is 1021 characters long or longer. Bugfix on
+ 0.1.1.9-alpha; fixes part of bug 3407.
+
+ - Make send_control_event_impl's behaviour sane. Its callers
+ expect it to always emit a CRLF at the end of the string; it
+ might emit extra control characters as well. Bugfix on
+ 0.1.1.9-alpha; fixes another part of bug 3407.
+