In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (Ton Hospel) writes:
The previous mail is about version 4.0.20 by the way.

Another thing I notice is that in COM_FIELD_LIST the parsing for
the wildcard seem iffy. The code does:

    if (!(thd->query=fields=thd->memdup(packet,thd->query_length+1)))
      break;

If I leave out the wildcard arg completely, this seems to pick up random
memory, since it doesn't check if this point extends beyond the packet
boundary. If I pass a string like "ab", the thd->query_length still
returns 0, so it copies one char (the 'a') and the rest is again
random memory (199 times \xa5 actually in my tests with full debug)

So for the moment I only support passing ""

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to