| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | =?iso-8859-15?Q?Rafael_Garc=EDa?= <rafael-no_spam_please_ AT geninfor DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: strange comparison error |
| Date: | Mon, 05 Apr 2004 12:57:11 +0200 |
| Organization: | Telefonica Data Espagna |
| Lines: | 18 |
| Message-ID: | <opr5zcplh9wfff31@news.mad.ttd.net> |
| References: | <opr49vxpzbwfff31 AT news DOT mad DOT ttd DOT net> <200403221712 DOT i2MHCeik004358 AT envy DOT delorie DOT com> <opr5a5opiiwfff31 AT news DOT mad DOT ttd DOT net> <200403231337 DOT i2NDbwaw006048 AT envy DOT delorie DOT com> |
| NNTP-Posting-Host: | 80.red-80-24-192.pooles.rima-tde.net |
| Mime-Version: | 1.0 |
| X-Trace: | nsnmrro2-gest.nuria.telefonica-data.net 1081162777 18997 80.24.192.80 (5 Apr 2004 10:59:37 GMT) |
| X-Complaints-To: | usenet AT nsnmrro2-gest DOT nuria DOT telefonica-data DOT net |
| NNTP-Posting-Date: | Mon, 5 Apr 2004 10:59:37 +0000 (UTC) |
| User-Agent: | Opera7.11/Win32 M2 build 2887 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
En Tue, 23 Mar 2004 08:37:58 -0500, DJ Delorie <dj AT delorie DOT com> escribió: > >> Sorry, I don't understand. Could you please explain a bit more? We >> are using 32 bit numbers, the size of the struct is around 100 >> bytes. We should go to thousands of t_field's to reach >> overflow. Right? I have 14 here. > > You don't know how close to the end of memory DJGPP put your > structures, though. Ouch! So when I am running a 1Mb program on a 128Mb RAM machine I can get pointers (from malloc, for example) with values near to 2Gb! If this is true, I need to rewrite some code! -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |