Hi all The attached patch for crosstool 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