empty HOME variable crashes client

empty HOME variable crashes client

am 14.10.2003 10:26:34 von Andrej

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@m.gmane.org

Re: empty HOME variable crashes client

am 15.10.2003 15:58:22 von Sinisa Milivojevic

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
/ /|_/ / // /\ \/ /_/ / /__ 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@m.gmane.org