Hi, Suppose I do a malloc and store some data in the memory allocated. Now when I'm freeing this memory, I'm getting a segmentation fault. I've ensured that this memory chunk is not freed before and that the pointer is also ok. What I suspect is that the bytes just before this memory chunk is being tampered with and hence is leading to the segmentation fault when being freed. Could you please give me some pointers as to how I can learn about the way linux libraries go about malloc ing memory and what other extra data does it store and how and where. Thanks in advance vaidya - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html