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

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

[Monotone-commits-diffs] Revision a7dd665265f624e7217c8a108f97971f075f5c


From: monotone
Subject: [Monotone-commits-diffs] Revision a7dd665265f624e7217c8a108f97971f075f5ce8
Date: Sat, 26 Nov 2005 04:08:00 UT

-----------------------------------------------------------------
Revision: a7dd665265f624e7217c8a108f97971f075f5ce8
Ancestor: f6aaaf499b8f9019d9b11a2374d0d65524de3b8f
Author: address@hidden
Date: 2005-11-26T03:05:49
Branch: net.venge.monotone

Modified files:
        ChangeLog botan/mem_pool.cpp

ChangeLog: 

2005-11-26  Matthew Gregan  <address@hidden>

        * botan/mem_pool.cpp (Pooling_Allocator::allocate): 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: txt995Niu78Lr.txt
Description: Diff [f6aaaf499b8f9019d9b11a2374d0d65524de3b8f] -> [a7dd665265f624e7217c8a108f97971f075f5ce8]


reply via email to

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