Skip navigation links

MySQL Forums :: C/C++ :: mysql_init bounds overrun on g++ 64 bit


Advanced Search

mysql_init bounds overrun on g++ 64 bit
Posted by: Jan Millar ()
Date: November 07, 2012 01:42PM

Anyone experienced a bounds overrun with mysql_init(&mysql_object) on g++ 64 bit?

Try:

MYSQL mysql;
int nGuard[8];

mysql_init(&mysql); // nGuard is overwritten by 24 bytes on this call


Version 5.5.25.3.12.1
openSUSE 12.1 (64 bit)

Thanks,

Jan

Options: ReplyQuote


Subject Written By Posted
mysql_init bounds overrun on g++ 64 bit Jan Millar 11/07/2012 01:42PM
Re: mysql_init bounds overrun on g++ 64 bit Jan Millar 11/08/2012 05:57AM
Re: mysql_init bounds overrun on g++ 64 bit Trevor Diederich 11/15/2012 08:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.