[MDEV-21167] LF_PINS::stack_ends_here can be inaccurate, leading to alloca() larger than stack Created: 2019-11-28 Updated: 2020-08-25 Resolved: 2019-11-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server, Storage Engine - InnoDB |
| Affects Version/s: | None |
| Fix Version/s: | 10.3.21 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
lf_pinbox_real_free() tries to allocate some stack to sort the pins, and is using There is a problem with it however, because LF_PINS::stack_ends_here is from the stack where |