[Fwd: Re: empty HOME variable crashes client]

Antony T Curtis <[email protected]>
Newsgroups gmane.comp.db.mysql.bugs
Organization MySQL AB
Message-ID <[email protected]>
-----Forwarded Message-----
> From: Antony T Curtis <[email protected]>
> To: [email protected]
> Cc: [email protected]
> Subject: Re: empty HOME variable crashes client
> Date: Sat, 18 Oct 2003 09:43:23 +0100
> 
> On Wed, 2003-10-15 at 14:58, Sinisa Milivojevic wrote:
> > Andrej writes:
> > > Good morning, mysqlers!
> > > 
> > > We found that running any mysql client with set but empty HOME variable 
> > > generates coredump. To reproduce error execute
> > > 	env -i HOME= mysqladmin
> > > 	env -i HOME= mysql
> > > 
> > > At the same time following works
> > > 	env -i mysqladmin
> > > 	env -i mysql
> > > 
> > > Problem found for mysql-4.0.15 on linux-ia64 and hpux-11.11 platforms.
> > > 
> > > Regards,
> > > --
> > > Andrej
> > > 
> > 
> > This would crash most of UNIX programs on your system anyway.
> > 
> > But yes, we should fix it too.
> 
> I remember reporting this bug on OS/2 way back in 1999.
> 
> 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.
-- 
Antony T Curtis, Senior Software Developer
MySQL AB, www.mysql.com
 Office: +44 118 377 3247

Are you MySQL certified?  www.mysql.com/certification
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/kQ9cLUyqNTyfZjARAsY3AJ9VSuXOhoUhga8zeUqZgwyYZNmcuACfW4hP
ZQBj8LkfxZtkk8CHf0sWm7M=
=pwTQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.