diff options
author | Mansour Moufid <mansourmoufid@gmail.com> | 2011-09-19 21:25:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-09-20 09:52:44 -0400 |
commit | 1ba90ab655fab036f00ba0185ca7b456612a12bd (patch) | |
tree | fcb80ee0b3ed200910ac4fd25bd87075e5fdc550 /changes/bug4059 | |
parent | ac7b6c508dca24a256abc30b4ecaf21019569a38 (diff) | |
download | tor-1ba90ab655fab036f00ba0185ca7b456612a12bd.tar tor-1ba90ab655fab036f00ba0185ca7b456612a12bd.tar.gz |
Fix a potentially useless integer overflow check.
GCC 4.2 and maybe other compilers optimize away unsigned integer
overflow checks of the form (foo + bar < foo), for all bar.
Fix one such check in `src/common/OpenBSD_malloc_Linux.c'.
Diffstat (limited to 'changes/bug4059')
0 files changed, 0 insertions, 0 deletions