[CT-NG] [PATCH] Fix memory corruption bug in newlib 1.17,18].0

Martin Guy martinwguy@gmail.com
Tue Jan 17 08:58:00 GMT 2012


[second attempt, with Signed-off-by: line]

  The attached patch for crosstool-ng adds a patch to newlib 1.17.0 and
1.18.0 to fix a bug in malloc() that corrupts memory either when
sbrk() is called between two calls to malloc() or when a custom sbrk()
returns memory from several discontiguous memory regions (as in this
embedded target with two disjoint memory banks).
  Newlib fixed it in 1.19.0; this back-ports the fix (which is the
same as the difference between dlmalloc 2.6.4 and 2.6.5) to the other
versions present in crosstool-ng.

     M
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crosstool-ng-newlib-update-dlmalloc-to-2.6.5.patch
Type: text/x-patch
Size: 3901 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20120117/84b979c6/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list