summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2017-05-26 17:04:52 -0400
committerTaylor Yu <catalyst@torproject.org>2017-06-19 14:28:36 -0400
commit027614c263b4a1ae6f74e3470723f97331af8baa (patch)
treec482415ce4d66098562070f75e0eb009b1af63d8 /changes
parenteff5e29404980a87b4618e8623c35a363af6cc04 (diff)
downloadtor-027614c263b4a1ae6f74e3470723f97331af8baa.tar.gz
tor-027614c263b4a1ae6f74e3470723f97331af8baa.zip
Ensure that uint8_t is unsigned char
Many places in our code assume that uint8_t is the same type as unsigned char. Test this assumption in the configure script. This is important because of the privileged aliasing properties of character types in C. Fixes #22410.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug224104
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug22410 b/changes/bug22410
new file mode 100644
index 0000000000..678a26dce6
--- /dev/null
+++ b/changes/bug22410
@@ -0,0 +1,4 @@
+ o Minor bugfixes (portability):
+ - Check at configure time whether uint8_t is unsigned char. Lots
+ of existing code already assumes this, and there could be strict
+ aliasing issues if they aren't the same type. Fixes #22410.