diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-16 23:57:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-17 00:02:59 -0400 |
commit | 9f25a5529a2e7aa6226851d2b9e3ccc77abdb88a (patch) | |
tree | 7ee6764dc73ed2d0fbd0942a24b88345a4a1c819 /ChangeLog | |
parent | 29bf271ba2deb9714f515e03a9674ac43b9d7156 (diff) | |
download | tor-9f25a5529a2e7aa6226851d2b9e3ccc77abdb88a.tar.gz tor-9f25a5529a2e7aa6226851d2b9e3ccc77abdb88a.zip |
Fix an assertion-failure in memarea_alloc() on 64-bit platforms.
The trick is that we should assert that our next_mem pointer has not
run off the end of the array _before_ we realign the pointer, since
doing that could take us over the end... but only if we're on a system
where malloc() gives us ram in increments smaller than sizeof(void*).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -12,7 +12,12 @@ Changes in version 0.2.1.15??? - ????-??-?? directory authority. Fixes part of bug 932. - When we change to or from being a bridge, reset our counts of client usage by country. Fixes bug 932. - - Fix a bug that made stream bandwidth get misreported to the controller. + - Fix a bug that made stream bandwidth get misreported to the + controller. + - Fix an assertion failure on 64-bit platforms when we allocated + memory right up to the end of a memarea, then realigned the + memory one step beyond the end. Fixes a possible cause of bug + 930. Changes in version 0.2.1.14-rc - 2009-04-12 |