aboutsummaryrefslogtreecommitdiff
path: root/changes/bug27740
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2018-09-21 05:16:22 +0000
committercypherpunks <cypherpunks@torproject.org>2018-09-21 05:16:22 +0000
commit42558df7c8affeec33e66d987ccf4d632a9d5466 (patch)
treea55eb3bd2c910d03bfcb423b1d27b6d2bb402b90 /changes/bug27740
parentdb89b4b1527103455e1bd85839a88d614a402354 (diff)
downloadtor-42558df7c8affeec33e66d987ccf4d632a9d5466.tar.gz
tor-42558df7c8affeec33e66d987ccf4d632a9d5466.zip
rust/protover: return C-allocated string in protover_all_supported()
The result of CString::into_raw() is not safe to free with free() except under finicky and fragile circumstances that we definitely don't meet right now. This was missed in be583a34a3815c2c10e86094ab0610e4b7f9c869.
Diffstat (limited to 'changes/bug27740')
-rw-r--r--changes/bug277404
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug27740 b/changes/bug27740
new file mode 100644
index 0000000000..76a17b7dda
--- /dev/null
+++ b/changes/bug27740
@@ -0,0 +1,4 @@
+ o Minor bugfixes (rust):
+ - Return a string that can be safely freed by C code, not one created by
+ the rust allocator, in protover_all_supported(). Fixes bug 27740; bugfix
+ on 0.3.3.1-alpha.