realloc bug in avrlibc

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm experiencing a bug in the realloc when trying to realloc to a chunck of size 1; in such case, the realloc provides me with a size 1 chunk, but when I free that,it can happen that there is not enough space to store the "next" 2bytes info of the free list...

Can you confirm this?

R

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

riccardomanfrin wrote:
I'm experiencing a bug in the realloc when trying to realloc to a chunck of size 1; in such case, the realloc provides me with a size 1 chunk, but when I free that,it can happen that there is not enough space to store the "next" 2bytes info of the free list...

Can you confirm this?

R


Ok found:
http://savannah.nongnu.org/bugs/...