Date: Tue, 24 May 94 14:51:36 EST From: acmq AT gamma DOT coe DOT ufrj DOT br (Antonio Carlos Moreirao de Queiroz) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: memory allocation Hi, Looking at what malloc was doing, It appeared to me that all the pointers point to addresses at low memory that contain the actual pointers to the data. Why this scheme? Is it safe when the allocated data contain pointers to more data? I suspect of something wrong. The memcopy function is corrupting data when copying data pointed by pointers that are in allocated areas, but working correctly with simple pointers. More tests are needed to verify what is happening, but I don't have time to do them. Antonio C. M. de Queiroz