mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
f55598f870
Coverity has had trouble figuring out our csiphash implementation, and has given spurious warnings about its behavior. This patch changes the csiphash implementation when coverity is in use, so that coverity can figure out that we are not about to read beyond the provided input. Closes ticket 31025.
6 lines
313 B
Plaintext
6 lines
313 B
Plaintext
o Minor bugfixes (coverity):
|
|
- In our siphash implementation, when building for coverity, use memcpy
|
|
in place of a switch statement, so that coverity can tell we are not
|
|
accessing out-of-bounds memory. Fixes bug 31025; bugfix on
|
|
0.2.8.1-alpha. This is tracked as CID 1447293 and 1447295.
|