[kaffe] Problem: gcMalloc: Assertion `fidx < nrTypes && size != 0' failed.

Godmar Back gback at cs.utah.edu
Thu Apr 25 09:30:48 PDT 2002


> 
> Also, is there a good reason why we don't allow zero-length mallocs?
> 

Yes.  Because they're usually indicative of some bogosity or
some condition that should be flagged or handled somehow else,
or even worse bugs.
This assertion (size!=0) has already detected numerous such cases.

	- Godmar





More information about the kaffe mailing list