Bug #38009 | Segmentation fault when calling mysql_real_query() on an unconnected client | ||
---|---|---|---|
Submitted: | 10 Jul 2008 7:28 | Modified: | 10 Jul 2008 12:18 |
Reporter: | Mats Kindahl | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S3 (Non-critical) |
Version: | 5.0 | OS: | Linux (Ubuntu 2.6.24-19.34-generic) |
Assigned to: | CPU Architecture: | Any |
[10 Jul 2008 7:28]
Mats Kindahl
[10 Jul 2008 12:18]
Sergei Golubchik
It's intentional, we rely on the caller to do these checks (just like libc expects you not to pass a null pointer to strcpy).