This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH v2] [BZ #15855] malloc: Check for integer overflow in pvalloc.


On Tue, Sep 10, 2013 at 12:46:00AM -0400, Rich Felker wrote:
> This code does not "rely on overflow behavior of the processor".
> Unsigned arithmetic cannot overflow. It's performed modulo one plus
> the maximum value of the type.

ACK.  Thanks.

Siddhesh


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