Skip to content
/ server Public

MDEV-31284: SIGSEGV in VDec2_lazy::VDec2_lazy| Item_func_plus::decimal_op#4864

Open
raghunandanbhat wants to merge 1 commit into10.6from
10.6-mdev-31284
Open

MDEV-31284: SIGSEGV in VDec2_lazy::VDec2_lazy| Item_func_plus::decimal_op#4864
raghunandanbhat wants to merge 1 commit into10.6from
10.6-mdev-31284

Conversation

@raghunandanbhat
Copy link
Copy Markdown
Contributor

Fixes MDEV-31284

Problem:

When a query contains large number operations (e.g. addition) on decimal numbers, it can trigger deep recursion leading to a stack overrun and crashing the server. Currently, the server checks for stack overruns only during fix_fileds time and not during the execution of the query.

Fix:

Introduces a stack overrun check druing the execution of query to prevent crash during the execution time.

…al_op

Problem:
  When a query contains large number arithmatic operations (e.g.
  addition) on numbers, it can trigger deep recursion leading to a stack
  overrun and crashing the server. Currently, the server checks for
  stack overruns only during `fix_fileds` time and not during the
  execution of the query.

Fix:
  Introduces a stack overrun check druing the execution of query to
  prevent crash during the execution time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant