An Ubiquitous C bug
Kevin D. Quitt
kdq at demott.com
Fri Jan 25 04:50:35 AEST 1991
In article <s64421.664559119 at zeus> s64421 at zeus.usq.EDU.AU (house ron) writes:
>kdq at demott.com (Kevin D. Quitt) writes:
>
>>In article <s64421.664471332 at zeus> s64421 at zeus.usq.EDU.AU (house ron) writes:
>>>Here's a bug which exists in every single DOS C compiler I can find,
>...
>> Apparently you haven't tried Microsoft C 6.0? Which ones have you tried?
>
>I tried Quick C, TopSpeed C and Watcom C (a real loser). Remember
>that any particular program might work, without guaranteeing that the
>bug is absent. To be sure, look at the value of NULL pointers, and, if
>it is zero, look at a program map to verify that a non-function is
>necessarily present at the start of the default code segment. Is this
>the case with MSC6?
I find start-up code at zero, and with a few simple trials was not
able to get one of my (or the library's) functions loaded at zero. Maybe
if I were more persistent...
--
_
Kevin D. Quitt demott!kdq kdq at demott.com
DeMott Electronics Co. 14707 Keswick St. Van Nuys, CA 91405-1266
VOICE (818) 988-4975 FAX (818) 997-1190 MODEM (818) 997-4496 PEP last
More information about the Comp.lang.c
mailing list