This is the mail archive of the glibc-bugs@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]

[Bug malloc/19449] malloc.c fastbin_index(),smallbin_index() type conversion error


https://sourceware.org/bugzilla/show_bug.cgi?id=19449

--- Comment #2 from An-jie Yang <scwuaptx at gmail dot com> ---
(In reply to Andreas Schwab from comment #1)
> The argument is never bigger than MAX_FAST_SIZE.

But if something corruption the chunk of the fastbin ,it will bypass the check
of index easy. 

For example,if the fd in the chunk be modified to point to somewhere , it only
satisfy the 4 byte size in the 64bit system.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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