[CONC-457] mysql_list_processes crashes in unpack_fields Created: 2020-02-28 Updated: 2020-02-28 Resolved: 2020-02-28 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 3.1.6 |
| Fix Version/s: | 3.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
We discovered that mysql_list_processes crashes in unpack_fields. I have attached a simple test program. First, create a user account:
And then compile it:
And then run it via gdb:
It crashes with a segmentation fault with the following backtrace:
The crash happens here: https://github.com/mariadb-corporation/mariadb-connector-c/blob/v3.1.6/libmariadb/mariadb_lib.c#L808 |
| Comments |
| Comment by Georg Richter [ 2020-02-28 ] |
|
Fixed rev. 6a0c8ff2e5334731f342c63f0b9c6b5840b22673 Marked the following functions as deprecated:
|