Very sorry! I have a made a stupid mistake. Change the code of malloctest.c so: u = b-a; +x = buf + sizeof(buf); *--x = '\n'; Resume: include the line with sizeof after: u = b-a; Nikola -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html