Bugtraq mailing list archives

Re: Apache - all versions vulnerability in OLD procesors.


From: Peter Pentchev <roam () ringlet net>
Date: Wed, 28 Apr 2004 10:29:00 +0300

On Mon, Apr 26, 2004 at 08:12:26PM -0000, Adam Zabrocki wrote:

Hello

    In OLD procesors (i mean like x286 and some version x386) when the
sizeof (unsigned long) == sizeof (unsgined int) there is bug becouse it's
2 bytes and... 2*16=32

Eh?

Yes, you are talking about 16-bit processors, where the word size was 16
bits (two bytes), and sizeof(int) == 2.  However, I can't remember any C
compilers for Intel x86 processors where sizeof(long) != 4.  Yes, 'int' was
a 16-bit type, but IIRC, 'long' has always been a 32-bit type (a so-called
DWORD back then) - just as the C standard requires, as others mentioned.

but i don't have in this time box with that
procesors for research this situactions and this is only theory that bug
becouse i don't know whether apache we can run on this OLD procesors.

It's not just a matter of processors.  You have to have OS support for
sockets and stuff.  Yes, this can be done under Windows in 16-bit mode or
MS-DOS with the appropriate socket library, like WATTCP -
http://google.com/search?q=Apache+WATTCP

Still, see above for the reasons this will NOT be a problem even then.
sizeof(long) >= 4, and that's that.

G'luck,
Peter

-- 
Peter Pentchev  roam () ringlet net    roam () sbnd net    roam () FreeBSD org
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
Thit sentence is not self-referential because "thit" is not a word.

Attachment: _bin
Description:


Current thread: