[MDEV-11833] JSON functions don't seem to respect max_allowed_packet Created: 2017-01-18 Updated: 2017-03-15 Resolved: 2017-03-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrii Nikitin (Inactive) | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 10.2.5-1 |
| Description |
|
Similar behavior of other functions:
While this example looks artificial , it may cause serious stability issues in many scenarios on production (unintentionally, e.g. because of bug in client software or used by attacker to impact performance / stability) - so I put 'Major' priority here, but I am OK with 'Minor' priority if such is justified. |
| Comments |
| Comment by Elena Stepanova [ 2017-01-18 ] | ||||||||||||||||||||||||
|
I don't think the example is exceedingly artificial. In reality, JSON texts can probably be quite long, so they can exceed max_allowed_packet.
| ||||||||||||||||||||||||
| Comment by Alexey Botchkov [ 2017-03-14 ] | ||||||||||||||||||||||||
|
http://lists.askmonty.org/pipermail/commits/2017-March/010858.html |