mariadb/extra/wolfssl
Aleksey Midenkov 8c95d5d2c2 MDEV-28619 Server crash and UBSAN null-pointer-use in Window_funcs_sort::setup
Optimization in st_select_lex_unit::prepare() removes ORDER BY for
certain subqueries. That excludes ORDER BY items from being fixed, but
sl->window_funcs still contains window function items and those
related to optimized out ORDER BY are unfixed. The error about missing
window spec is thrown when the item is fixed. Hence we get redundant
processing of window function items without checking window spec
existence.

The fix removes the related window function items when ORDER BY is
optimized out. ORDER accumulates window_funcs at parser stage which
are then removed from SELECT_LEX::window_funcs. The fix also updates
similar optimization in mysql_make_view().
2026-03-12 14:05:17 +03:00
..
wolfssl@b077c81eb6 MDEV-28619 Server crash and UBSAN null-pointer-use in Window_funcs_sort::setup 2026-03-12 14:05:17 +03:00
CMakeLists.txt Workaround WolfSSL issue #9004 to fix the build on Windows. 2025-07-25 12:28:30 +02:00
user_settings.h.in Update WolfSSL to the latest release 5.7.6 2025-01-23 13:50:06 +02:00