TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Tom Torfs
from: Kurt Kuzba
date: 1998-08-15 11:52:12
subject: Ehhr

TT> DG>   vScr=malloc(320*200);
TT> DG>   flScape=malloc(1024*1024);
TT> DG>   clrScr(vScr);
TT> DG>   -- makes the program crash at the latter row, but:
TT> DG>   vScr=malloc(320*200);
TT> DG>   clrScr(vScr);
TT> DG>   flScape=malloc(1024*1024);
TT> DG>   -- works perfectly.
TT>   I would find the bug anyway, if I were you, or it'll come
TT>   back and hunt you later. Don't have the illusion that the
TT>   bug has to be found somewhere near spot where the program
TT>   crashes.
   One thing obvious, which should be done and is not, is to
   test the result of the call to malloc() before use.

> ] You want me to stay current? I can barely stay awake!!......

---
* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750)
SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728 810
SEEN-BY: 639/252 670/213 218
@PATH: 154/750 222 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.