malloc in tftp server

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue May 31 23:34:38 CEST 2005


HI,

On Tue May 31, 2005 at 16:28:14 +0200, Leon Brits wrote:
> I am adding a bit of extra code to the TFTP server and I found that if I
> malloc() memory that I get the error:
> 
> ../com/register.c:78: failed assertion `global_registry'
> 
> I've added the following line...
> l4_ssize_t l4libc_heapsize = 4*1024;
> ...to the main file but I still get the error.

Works for me. Are you doing anything special?

I can only see the assertion if I leave out the l4libc_heapsize line.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list