aboutsummaryrefslogtreecommitdiff
path: root/src/common/memarea.c
Commit message (Collapse)AuthorAge
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-17
|\
| * Fix an assertion-failure in memarea_alloc() on 64-bit platforms.Nick Mathewson2009-05-17
| | | | | | | | | | | | | | 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*).
| * Update copyright to 2009.Karsten Loesing2009-05-04
| |
* | Add sentinel values to the end of memarea chunks.Nick Mathewson2009-05-12
| | | | | | | | | | | | This might detect some possible causes of bug 930, and will at least make sure we aren't doing some dumb memory-corruption stuff with the heap and router-parsing.
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Actually do that memarea_strndup fix right. Not only must you not examine ↵Nick Mathewson2009-03-21
| | | | | | unmapped ram, but you also must not copy it. From lark. svn:r19095
* fix from lark: make memarea_strndup() work even at the end of a mmap chunk. ↵Nick Mathewson2009-03-21
| | | | | | Bug was harmless for now, I think. svn:r19094
* Add some asserts to try to catch bug 930Nick Mathewson2009-03-18
| | | | svn:r19074
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* Make freelist_len in memarea.c static; document a few variables.Nick Mathewson2008-12-22
| | | | svn:r17741
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson2008-12-22
| | | | svn:r17734
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson2008-12-22
| | | | | | comments so that they will get recognized as doxygen. svn:r17729
* Resolve many DOCDOCs.Nick Mathewson2008-12-17
| | | | svn:r17662
* The chunk_size field in memarea_t was never actually set. Remove the whole ↵Nick Mathewson2008-11-05
| | | | | | thing. svn:r17195
* r19249@catbus: nickm | 2008-04-08 14:04:02 -0400Nick Mathewson2008-04-08
| | | | | | | Oops. Fix one last memarea freelist bug. svn:r14322
* r19247@catbus: nickm | 2008-04-08 13:50:01 -0400Nick Mathewson2008-04-08
| | | | | | | Fix behavior of memarea freelists. svn:r14321
* r19245@catbus: nickm | 2008-04-08 13:33:27 -0400Nick Mathewson2008-04-08
| | | | | | | Oops. It turns out that there are some subtle differences between >= and <. svn:r14320
* r19243@catbus: nickm | 2008-04-08 13:28:59 -0400Nick Mathewson2008-04-08
| | | | | | | Use a freelist to hold a few recent memarea chunks. We do a kazillion memarea allocs and frees; that cant be good for us. svn:r14319
* r19072@catbus: nickm | 2008-03-26 13:50:24 -0400Nick Mathewson2008-03-26
| | | | | | | Add code to debug memory area size. Use results of this code to set a couple of area sizes more sanely. svn:r14201
* r19062@catbus: nickm | 2008-03-26 12:56:25 -0400Nick Mathewson2008-03-26
| | | | | | | Fix whitespace svn:r14197
* r19049@catbus: nickm | 2008-03-26 12:33:25 -0400Nick Mathewson2008-03-26
Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies. svn:r14194