Follow-up Comment #3, bug #22567 (project avr-libc):

Yet another testcase, 

I found out the first was because I freed a ptr twice. I think free should be
robust to that but I don't know what ANSI-C specified in that case.

The first <<bugAcc()>> trigger the double free bug (infinite loop in malloc)


the second <<bugTim>> triggers the another infinite loop, quite possibly
because of bug #25723. Yet, I still don't know the current cvs head includes
the patch, I checked with the most recent branches (1.6-6) and haven't found
significant differences with my version (v 1.5 2009/03/04)



(file #18338)
    _______________________________________________________

Additional Item Attachment:

File name: main.cpp                       Size:3 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?22567>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to