[MDEV-31032] UBSAN|downcast of address X which does not point to an object of type 'Item_string' in sql/json_schema.cc Created: 2023-04-10 Updated: 2023-11-27 Resolved: 2023-04-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 11.1 |
| Fix Version/s: | 11.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Ramesh Sivaraman | Assignee: | Rucha Deodhar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Leads to
Setup
|
| Comments |
| Comment by Ramesh Sivaraman [ 2023-04-10 ] | ||||||||||||||
|
Runtime error is also present when using simple pattern in JSON schema with sql_mode change.
Leads to
| ||||||||||||||
| Comment by Rucha Deodhar [ 2023-04-17 ] | ||||||||||||||
|
Patch: https://github.com/MariaDB/server/tree/bb-MDEV-31032-json_schema | ||||||||||||||
| Comment by Alexey Botchkov [ 2023-04-20 ] | ||||||||||||||
|
ok to push. | ||||||||||||||
| Comment by Rucha Deodhar [ 2023-04-21 ] | ||||||||||||||
|
pushed to https://github.com/MariaDB/server/tree/bb-10.12-MDEV-27128 |