[2436] in linux-security and linux-alert archive

home help back first fref pref prev next nref lref last post

Re: Problem with red hat 6.1

daemon@ATHENA.MIT.EDU (Jamie Andrews)
Fri Dec 1 08:51:06 2000

Date: Thu, 30 Nov 2000 17:55:58 +0000
From: Jamie Andrews <jamie@netgates.co.uk>
To: linux-alert@redhat.com
Message-ID: <20001130175558.B1096@netgates.co.uk>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="tqI+Z3u+9OQ7kwn0"
Content-Disposition: inline
In-Reply-To: <OE48jQHtMFaukyCKDkb00003ad1@hotmail.com>; from nayakvinod@hotmail.com on Wed, Nov 29, 2000 at 11:27:00AM +0530
Errors-To: linux-alert-admin@redhat.com


--tqI+Z3u+9OQ7kwn0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 29, 2000 at 11:27:00AM +0530, nayakvinod wrote:
> I found a problem, nay a very serious bug in red hat 6.1(kernel 2.2.12).
>=20
> I login as an ordinary user and did as follows( in fact I wrote a faulty =
shell program and put it in a directory in PATH):
>=20
> $ mkdir bin
> $ cat >bin/hello
>  hello
> ^D
> $ chmod 0755 bin/hello
> $ hello
>=20
> This system crashed after giving messages like:
> =20
>  syslog: Out of memory
> ....
> ......
> .....
>=20
> init: out of memory
>=20
>=20
> First I suspected that the problem is in kernel2.2.12. But when I  booted=
 RED hat 6.2 with this kernel  and run the same culprit shell prog, the pro=
cess terminated with the messge:
> bash: Out of memory!
>  which it should do.

This is the correct behaviour all Unix behaves like this
Stuff like this can be prevented with ulimit or similar
It is not a bug, PLBKAC
--=20
Jamie Andrews, Head of Technical, City Netgates, Bristol
Tel +44 (0)117 907 4001

--tqI+Z3u+9OQ7kwn0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6JpSubPOV4zlFiTIRAqLuAJ9ko/8k92wrmQRdI0ZVrolc1/TWHwCeMSS2
3O/NwpK+rmyGPKYDN3ejlPA=
=+iI3
-----END PGP SIGNATURE-----

--tqI+Z3u+9OQ7kwn0--



_______________________________________________
Linux-alert mailing list
Linux-alert@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-alert

home help back first fref pref prev next nref lref last post