<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=093222108-11052007><FONT face=Arial size=2>I am working on an
application running on 386 with custom built BSP.</FONT></SPAN></DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial size=2>Calls to malloc in
my application keep returning a null value. malloc_free_space reports a free
heap of 3.9M (as I would expect for my configuration).</FONT></SPAN></DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial size=2>I've tried multiple
calls to malloc interleaved with a check of the free heap and it indicates that
the free heap goes down correctly in line with the memory I try to malloc but
malloc always returns null.</FONT></SPAN></DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial size=2>Is that a known bug
with malloc? Or am I missing something somewhere?</FONT></SPAN></DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial size=2>Thanks for your
helps</FONT></SPAN></DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093222108-11052007><FONT face=Arial
size=2>Sam</FONT></SPAN></DIV></BODY></HTML>
<p>
This e-mail and any attachments may contain confidential and<br>
privileged information. If you are not the intended recipient,<br>
please notify the sender immediately by return e-mail, delete this<br>
e-mail and destroy any copies. Any dissemination or use of this<br>
information by a person other than the intended recipient is<br>
unauthorised and may be illegal.<br>
<br>
Surrey Satellite Technology Limited<br>
Registered Office: Senate House, University of Surrey, Guildford, <br>
Surrey, GU2 7XH Registered in England & Wales No. 1916260 . VAT <br>
Registration No. GB 413 5711 79<br>
</p>