Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
Description
mysql-test-run on a WITH_UBSAN server (unoptimized debug build with GCC) revealed that InnoDB is passing NULL parameters to some functions.
There is way more undefined behaviour outside InnoDB code; I did not investigate those. For the 10.5-based branch that I tested, there were 108,378 occurrences total; 67 for InnoDB.
I ported the relevant fixes from 10.5 and tested 10.2, 10.3, 10.4. The final 10.4 fix depends on a merge of the fix from 10.3.