[34695] in bugtraq
Re: Apache - all versions vulnerability in OLD procesors.
daemon@ATHENA.MIT.EDU (Peter Pentchev)
Wed Apr 28 11:38:55 2004
Date: Wed, 28 Apr 2004 10:29:00 +0300
From: Peter Pentchev <roam@ringlet.net>
To: Adam Zabrocki <pi3ki31ny@wp.pl>
Cc: bugtraq@securityfocus.com
Message-ID: <20040428072859.GE817@straylight.m.ringlet.net>
Mail-Followup-To: Adam Zabrocki <pi3ki31ny@wp.pl>,
bugtraq@securityfocus.com
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="Ns7jmDPpOpCD+GE/"
Content-Disposition: inline
In-Reply-To: <20040426201226.4445.qmail@www.securityfocus.com>
--Ns7jmDPpOpCD+GE/
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Apr 26, 2004 at 08:12:26PM -0000, Adam Zabrocki wrote:
>=20
> Hello
>=20
> In OLD procesors (i mean like x286 and some version x386) when the
> sizeof (unsigned long) =3D=3D sizeof (unsgined int) there is bug becouse =
it's
> 2 bytes and... 2*16=3D32
Eh?
Yes, you are talking about 16-bit processors, where the word size was 16
bits (two bytes), and sizeof(int) =3D=3D 2. However, I can't remember any C
compilers for Intel x86 processors where sizeof(long) !=3D 4. Yes, 'int' w=
as
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=3DApache+WATTCP
Still, see above for the reasons this will NOT be a problem even then.
sizeof(long) >=3D 4, and that's that.
G'luck,
Peter
--=20
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.
--Ns7jmDPpOpCD+GE/
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAj1077Ri2jRYZRVMRAnI8AJwJPqNqL/YYngIu1MDasZxBVzDA6QCfR1Af
XhMG9xccP+uxfn9H6ITmq7w=
=CAb7
-----END PGP SIGNATURE-----
--Ns7jmDPpOpCD+GE/--