monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 4525106fe8b7c7a901456c58ea7147a0d66b38


From: monotone
Subject: [Monotone-commits-diffs] Revision 4525106fe8b7c7a901456c58ea7147a0d66b38ef
Date: Sat, 26 Nov 2005 03:05:35 UT

-----------------------------------------------------------------
Revision: 4525106fe8b7c7a901456c58ea7147a0d66b38ef
Ancestor: ed6ecdd09df2898c3617ffd83d1ab2dff266d09e
Author: address@hidden
Date: 2005-11-26T03:02:45
Branch: net.venge.monotone.experiment.rosters

Modified files:
        botan/mem_pool.cpp

ChangeLog: 

Botan's Pooling_Allocator assumes that Buffers stored in free_list are
sorted, and uses std::inplace_merge() in deallocate() to ensure the recently
freed Buffer is positioned in free_list appropriately.  This same check was
not being performed when a Buffer was added to free_list in allocate() (it's
not safe to assume that the address of a newly allocated Buffer will always
be greated than existing Buffers).

Attachment: txtDF2ZmedDM0.txt
Description: Diff [ed6ecdd09df2898c3617ffd83d1ab2dff266d09e] -> [4525106fe8b7c7a901456c58ea7147a0d66b38ef]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]