[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #22567] malloc() can occasionally run into an infini

From: Maxime Lemonnier
Subject: [avr-libc-dev] [bug #22567] malloc() can occasionally run into an infinite loop
Date: Mon, 29 Jun 2009 02:33:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11

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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]