empty HOME variable crashes client

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


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Andrej [ Di, 14 Oktober 2003 10:26 ] [ ID #76292 ]

Re: empty HOME variable crashes client

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.

--

Sincerely,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa [at] mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB
/_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator
<___/ www.mysql.com Larnaca, Cyprus


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Sinisa Milivojevic [ Mi, 15 Oktober 2003 15:58 ] [ ID #76300 ]
Datenbanken » gmane.comp.db.mysql.bugs » empty HOME variable crashes client

Vorheriges Thema: ERROR 1066: Not unique table/alias: 'A'
Nächstes Thema: User Priviliges gets Lost!