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
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