mirror of
https://github.com/MariaDB/server.git
synced 2025-09-03 20:43:11 +03:00

storage engine system variables was not validated and unexpected value was assigned. The check_func_enum function used subtraction from the uint value with the probably negative result. That result of type uint was compared with 0 after casting to signed long type. On architectures where long type is longer than int type the result of comparison was unexpected.