[Fwd: Re: empty HOME variable crashes client]
am 18.10.2003 12:01:00 von Antony T Curtis--=-qqWKXq8mL1UX/ugnfCvD
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
-----Forwarded Message-----
> From: Antony T Curtis
> To: sinisa@mysql.com
> Cc: bugs@mysql.com
> Subject: Re: empty HOME variable crashes client
> Date: Sat, 18 Oct 2003 09:43:23 +0100
>=20
> On Wed, 2003-10-15 at 14:58, Sinisa Milivojevic wrote:
> > Andrej writes:
> > > Good morning, mysqlers!
> > >=20
> > > We found that running any mysql client with set but empty HOME variab=
le=20
> > > generates coredump. To reproduce error execute
> > > env -i HOME=3D mysqladmin
> > > env -i HOME=3D mysql
> > >=20
> > > At the same time following works
> > > env -i mysqladmin
> > > env -i mysql
> > >=20
> > > Problem found for mysql-4.0.15 on linux-ia64 and hpux-11.11 platforms=
..
> > >=20
> > > Regards,
> > > --
> > > Andrej
> > >=20
> >=20
> > This would crash most of UNIX programs on your system anyway.
> >=20
> > But yes, we should fix it too.
>=20
> I remember reporting this bug on OS/2 way back in 1999.
>=20
> I seem to recall making the root of the boot drive the 'home' in that
> instance. However, on UNIX I guess we can use getpwuid and use the home
> directory specified there.
--=20
Antony T Curtis, Senior Software Developer
MySQL AB, www.mysql.com
Office: +44 118 377 3247
Are you MySQL certified? www.mysql.com/certification
--=-qqWKXq8mL1UX/ugnfCvD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQA/kQ9cLUyqNTyfZjARAsY3AJ9VSuXOhoUhga8zeUqZgwyYZNmcuACf W4hP
ZQBj8LkfxZtkk8CHf0sWm7M=
=pwTQ
-----END PGP SIGNATURE-----
--=-qqWKXq8mL1UX/ugnfCvD--