[CONC-32] The entries in include/errmsg.h and libmysql/errmsg.c don't match Created: 2013-06-18 Updated: 2013-06-18 Resolved: 2013-06-18 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Henrik Grubbström | Assignee: | Georg Richter |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
mariadb-native-client 1.0.0 |
||
| Description |
|
$ tail -5 include/errmsg.h #define SQLSTATE_UNKNOWN "HY000" void init_client_errs(void) Note that CR_AUTH_PLUGIN_CANNOT_LOAD and CR_ALREADY_CONNECTED have been swapped between the files. I've marked the priority as Major since format string # 2059 contains %s-formatting, which won't be provided with CR_AUTH_ALREADY_CONNECTED and thus probably cause a NULL (or similar) deref. |
| Comments |
| Comment by Georg Richter [ 2013-06-18 ] |
|
Dup of |