Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
2.3.2
-
None
-
None
-
centos 7
Description
Program may crash after call to mysql_real_connect_start. Valgrind reports 27 errors
==7== Warning: client switching stacks? SP change: 0xfff000670 --> 0x7ad50e0
==7== to suppress, use: --max-stackframe=68573902224 or greater
==7== Invalid write of size 8
==7== at 0x4C28CDD: free (vg_replace_malloc.c:530)
==7== by 0x404E15: mysql_close_options (libmariadb.c:2317)
==7== by 0x408BBE: mthd_my_real_connect (libmariadb.c:2105)
==7== by 0x40BA1F: mysql_real_connect_start_internal (mysql_async.c:441)
==7== by 0x40AE10: my_context_spawn (my_context.c:205)
==7== Address 0x7ad4b68 is 60,024 bytes inside a block of size 61,440 free'd
==7== at 0x4C28CDD: free (vg_replace_malloc.c:530)
==7== by 0x404E15: mysql_close_options (libmariadb.c:2317)
==7== by 0x408BBE: mthd_my_real_connect (libmariadb.c:2105)
==7== by 0x40BA1F: mysql_real_connect_start_internal (mysql_async.c:441)
==7== by 0x40AE10: my_context_spawn (my_context.c:205)
...
to reproduce the problem, in Linux, extract the attachment to an empty directory, and execute docker build . |& tee out.txt