[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bugs #11868] realloc doesn't work correctly on block at
From: |
Peter Fuhrmann |
Subject: |
[avr-libc-dev] [bugs #11868] realloc doesn't work correctly on block at end of freelist when growing |
Date: |
Mon, 7 Feb 2005 23:44:45 +0000 |
User-agent: |
Opera/7.54 (X11; Linux i686; U) [de] |
Follow-up Comment #2, bugs #11868 (project avr-libc):
I sumitted a test file. I compile it with avr-gcc -mmcu=atmega128 -g
realloc-test.c, but that shouldn't matter.
I think the Problem is, that you assume that cp is ptr+len in lines 132 and
133, which it isn't anymore, because it was changed in line 85.
_______________________________________________________
This item URL is:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11868>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/