
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
-
Sam Smoot May 9th, 2008 @ 12:02 AM
- Milestone cleared.
- Assigned user set to Scott Bauer
Scott, sounds like an easy fix (for a change). Please patch up ASAP. :-)
-
Scott Bauer May 9th, 2008 @ 05:38 PM
- State changed from new to resolved
Fixed.
See http://github.com/sam/do/commit/... for details.
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.
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
- Nobody is watching this ticket.