Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Windows 7
Description
My program crashes with MariaDB C client revision 67 in release mode. It was working fine with revision 64.
It is crashing in Windows API. There is some sort of memory corruption that leads the program to crash.
Can you please check the following code in my_thread_init function(my_thr_init.c).
146 tmp= &THR_KEY_mysys;
147 if (tmp->initialized) /* Already initialized */
148
154 tmp= &THR_KEY_mysys;
And also, I am getting warnings when compiling MariaDB C Client revision 67
my_thr_init.c(146): warning C4133: '=' : incompatible types - from 'DWORD *' to 'st_my_thread_var *'
my_thr_init.c(154): warning C4133: '=' : incompatible types - from 'DWORD *' to 'st_my_thread_var *'
my_thr_init.c(156): warning C4789: destination of memory copy is too small
my_thr_init.c(162): warning C4789: destination of memory copy is too small