You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-07-30 19:03:17 +03:00
CONC-473: mysql_real_connect_start() stack overrun with mdns hostname
Increase the default stack size for co-routines to 256 kByte. It was 60 kByte, which was too small for glibc getaddrinfo() when using mdns. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
@ -81,7 +81,7 @@
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
|
||||
#define ASYNC_CONTEXT_DEFAULT_STACK_SIZE (4096*15)
|
||||
#define ASYNC_CONTEXT_DEFAULT_STACK_SIZE (256*1024)
|
||||
#define MA_RPL_VERSION_HACK "5.5.5-"
|
||||
|
||||
#define CHARSET_NAME_LEN 64
|
||||
|
Reference in New Issue
Block a user