diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-12 15:57:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-12 16:01:12 -0400 |
commit | d9e2db1efd531b5fb0d47a9c03d19f871145a76d (patch) | |
tree | aa5caef0034033a662c43793178298d128a574d7 /changes | |
parent | bac160b4e079398d82a6dda13111fc1f3407d837 (diff) | |
download | tor-d9e2db1efd531b5fb0d47a9c03d19f871145a76d.tar.gz tor-d9e2db1efd531b5fb0d47a9c03d19f871145a76d.zip |
Avoid sscanf() warnings from openbsd in the unit tests
OpenBSD doesn't like tricks where you use a too-wide sscanf argument
for a too-narrow array, even when you know the input string
statically. The fix here is just to use bigger buffers.
Fixes 15582; bugfix on a3dafd3f58bb312 in 0.2.6.2-alpha.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug15582 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug15582 b/changes/bug15582 new file mode 100644 index 0000000000..5ea6431cf8 --- /dev/null +++ b/changes/bug15582 @@ -0,0 +1,4 @@ + o Minor bugfixes (compilation): + - Avoid compiler warnings in the unit tests for running tor_sscanf() + with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha. + |