#252 ✓resolved
ajoseph

do_mysql 0.9 adapter crashing on centos 5.0

Reported by ajoseph | May 5th, 2008 @ 09:12 PM

The do_mysql-0.9 on centos 5.0 (linux) was crashing. Trying to track it down 'rake compile' gave the following in the output:

do_mysql_ext.c:402: warning: call to__builtin___strcpy_chk will always overflow destination buffer

Looks like 'charset' on line 401 for do_mysql_ext.c is not large enough to hold 'utf8' because of the extra terminator needed by strcpy. Increased the size on line 401 to 5 (was 4) and rebuild. That fixed problem.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages