On Tue, 26 Jun 2001, Kieran Barnes wrote:
> Thanks for patch Daniel. Couldn't get it to play, so I edited vmysql.c
> manually, but it I broke. heh.
Looking back through my mailbox, I found that you're using 4.9.10, whereas
my patch was for 4.10.24. I've attached a patch for 4.9.10 to my reply to
alexus.
> Although I got the blighter....
>
> write(3, "L\0\0\0\3select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos,
> pw_dir, pw_shell from ", 80) = 80
> read(3, "9\0\0\1", 4) = 4
> read(3, "\377(\4You have an error in your SQL syntax near \'\' at line 1",
> 57) = 57
>
> Thats all I could get. (With an increased strace buffer) It still doesn't
> look like the full statement.
Nonetheless, it's what the mysql client sent to the server: all 80 bytes
are shown.
It looks like a sprintf in lines 233 to 236 of vmysql.c gives up when it
gets to the table name, so maybe there's a problem with that.
--
Daniel Biddle <[EMAIL PROTECTED]>