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 libc/12140] mallopt(M_PERTURB) free() anomaly


http://sourceware.org/bugzilla/show_bug.cgi?id=12140

--- Comment #1 from Michael Kerrisk <mtk.manpages at gmail dot com> 2010-10-20 02:42:48 UTC ---
Created attachment 5071
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5071
test program

The following sample run of the attached program demonstrates the problem.

$ ./a.out 8 0x0f      # Allocate 8 bytes, M_PERTURB=0x0f
f0 f0 f0 f0 f0 f0 f0 f0 00 00 00 00 
7b 7b 7b 7b 7b 7b 7b 7b 00 00 00 00 
00 00 00 00 0f 0f 0f 0f 0f 0f 0f 0f

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]