On 3/5/07, leslie.polzer@xxxxxxx <leslie.polzer@xxxxxxx> wrote:
On Mon, Mar 05, 2007 at 01:54:37AM +0000, Glynn Clements wrote: > You're probably overwriting the beginning of the allocated block. What do you mean by that? I can surely write to allocated memory, at the start, end and any point between... Besides, for the record: a short Valgrind run (thanks for the reminder!) showed me that I calculated the space wrongly, i.e. I allocated not enough memory.
that's what I thought. I just saw that your loop over the array didn't depend on the defined values which were used for allocating. Markus - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html