This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3 PATCH] Make sure the return value of malloc_allocator::allocate is zero-initialized so that checking it for non-zero works later.


2016-10-15  Ville Voutilainen  <ville.voutilainen@gmail.com>

    Make sure the return value of malloc_allocator::allocate
    is zero-initialized so that checking it for non-zero works
    later.
    * include/ext/malloc_allocator.h (malloc_allocator::allocate):
    Initialize the return value.

Attachment: malloc_alloc_bug.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]