[Phpmyadmin-devel] bug #620624

Marc Delisle delislma at CollegeSherbrooke.qc.ca
Thu Oct 10 11:32:03 CEST 2002


with your patch and a numeric IP, I stop the MySQL server and I get
a leak (I put some XXX here):

There seems to be an error in your SQL query.
The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Invalid Identifer @ 15
STR: 192.219.
SQL: mysql_connect(x.x.x.x, x, x)


MySQL said:

Can't connect to MySQL server on 'x.x.x.x' (111)

It's in the parser.

Michal Cihar a écrit:
> Hi
> to reproduce it you need:
> - use config auth
> - have hostname as numerical IP (maybe there are also other possibilities,
> but for me it appeared just for IP address not the hostname)
> - make some failure in connecting to mysql (e.g. use server where no mysql
> is runing)
> then it should show that reported error (at least it did in my case)
> 	Michal
>>I can't see a good reason for the previous code.  But without your
>>last fix, I tried to reproduce the bug, stopping a MySQL server,
>>and I was not able to make phpMyAdmin display confidential info.
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

More information about the Developers mailing list