diff options
author | Taylor Yu <catalyst@torproject.org> | 2017-05-26 17:04:52 -0400 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2017-06-19 14:28:36 -0400 |
commit | 027614c263b4a1ae6f74e3470723f97331af8baa (patch) | |
tree | c482415ce4d66098562070f75e0eb009b1af63d8 /changes | |
parent | eff5e29404980a87b4618e8623c35a363af6cc04 (diff) | |
download | tor-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/bug22410 | 4 |
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. |