Hi,

We have identified a rather serious bug in "libmysqlclient" of v3.23.49.

The client we are using is RIPE 3.1.0 (an Internet Routing Registry server) proivded 
by RIPE. This latest version uses threaded libraries.

Upon starting this server it would very shortly thereafter crash.

This occured because of a bug in the MYSQL client library (libmysqlclient). The bug 
was an improperly formed "for" loop in a routine called "mysql_read_default_options()" 
(libmysql.c:715).

The "for" statement used to read as follows:

for (end= *option ; (end= strcend(end,'_')) ; )

The patched statement that has been tested and works fine is:

for (end= *option ; (end= strcend(end,'_'))&& *end ; ) //* detect null */


Have a great day!!!

Mike Bluett & Denis Laplante
Network Engineering
The Univeristy of British Columbia

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to