diff options
author | cypherpunks <cypherpunks@torproject.org> | 2018-08-17 03:22:47 +0000 |
---|---|---|
committer | cypherpunks <cypherpunks@torproject.org> | 2018-08-17 13:34:03 +0000 |
commit | 7b7dd9ae1c429248fdb7d6062f1af4c360527f00 (patch) | |
tree | 5608c0aa0050af1ec9bc3ac8c6143cc0ecc7002b /changes | |
parent | 936e2aa0de6edb0578e18ad0760a67ad64a448d4 (diff) | |
download | tor-7b7dd9ae1c429248fdb7d6062f1af4c360527f00.tar.gz tor-7b7dd9ae1c429248fdb7d6062f1af4c360527f00.zip |
rust/protover: don't accept whitespace in ProtoSet::from_str()
It's impossible for spaces to get here, since spaces are used as
separators between individual protocol entries higher up.
And it shouldn't ignore whitespace that isn't a literal space
character, because that would differ from the C implementation.
These were added in 9925d2e68709aa7346f4c5bc98ea1349df6741f3.
Fixes #27177. Bugfix on 0.3.3.5-rc.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug27177 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug27177 b/changes/bug27177 new file mode 100644 index 0000000000..b03bbc96ea --- /dev/null +++ b/changes/bug27177 @@ -0,0 +1,4 @@ + o Minor bugfixes (rust): + - Protover parsing was accepting the presence of whitespace in version + strings, which the C implementation would choke on, e.g. "Desc=1\t,2". + Fixes bug 27177; bugfix on 0.3.3.5-rc. |