[CONC-649] Segfault with LOAD DATA INFILE on an Xpand node Created: 2023-06-07 Updated: 2023-06-07 |
|
| Status: | Open |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.22, 3.3.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | Georg Richter |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
Executing the following on an Xpand node will result in a segfault:
Here's a GDB stacktrace of it happening:
I've attached a network capture of this happening with a Xpand 6.1 docker container. The reason appears to be an unexpected LOAD DATA LOCAL INFILE request that the connector is not ready to handle. I believe this should also be reproducible with any database proxy (e.g. MaxScale) that would convert a LOAD DATA INFILE request into a LOAD DATA LOCAL INFILE without the connector knowing of it. |