[CONC-94] Crashing with named-pipe connections Created: 2014-05-02  Updated: 2014-05-14  Resolved: 2014-05-14

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sandhya Sriraj Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows



 Description   

Application is crashing when we connect to MySQL server with host '.'
mysql_real_connect(mysql, ".", "root", "root", NULL, 3306, NULL, 0);

Call Stack:
msvcr100d.dll!memcpy(unsigned char * dst, unsigned char * src, unsigned long count) Line 319 Asm
named_pipe.exe!vio_read() Line 256 + 0x14 bytes C
named_pipe.exe!my_real_read() Line 577 + 0x13 bytes C
named_pipe.exe!my_net_read() Line 719 + 0xd bytes C
named_pipe.exe!net_safe_read() Line 369 + 0x9 bytes C
named_pipe.exe!mthd_my_real_connect(std::basic_iostream<wchar_t,std::char_traits<wchar_t> > mysql) Line 1738 + 0x9 bytes C
named_pipe.exe!mysql_real_connect() Line 1477 + 0x2f bytes C

The MySQL server must be started with the --enable-named-pipe option to enable named-pipe connections.



 Comments   
Comment by Georg Richter [ 2014-05-14 ]

Fixed in rev. 136

Generated at Thu Feb 08 03:02:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.