Monty
c4fd167d5a
Fixed access to unitialized memory when using unique HASH key
...
Fixed the following issues:
- Call info with HA_STATUS_CONST to ensure that (key_info->rec_per_key)
contains latest data
- Don't access rec_per_key if key_info->algorithm == HA_KEY_ALG_LONG_HASH
is in this case the rec_per_key points to uninitialized data
- Cleaned up code to avoid some extra 'if' and to make things more readable
- Updated test cases that used 'old' rec_per_key values
2019-08-13 17:19:00 +03:00
..
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2019-02-08 12:32:31 -08:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-06-10 19:47:58 +02:00
2016-04-26 20:56:25 +02:00
2019-02-08 12:32:31 -08:00
2019-02-08 12:32:31 -08:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2018-10-31 16:06:16 +01:00
2018-09-07 01:35:09 +02:00
2017-02-10 06:30:42 -05:00
2019-02-08 12:32:31 -08:00
2016-04-26 20:56:25 +02:00
2016-06-11 22:47:30 +02:00
2017-11-05 22:23:31 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2017-05-16 14:26:11 +03:00
2017-02-10 06:30:42 -05:00
2016-06-10 19:47:58 +02:00
2016-06-10 19:47:58 +02:00
2016-04-26 20:56:25 +02:00
2016-06-10 19:47:58 +02:00
2016-04-26 20:56:25 +02:00
2018-10-31 16:06:16 +01:00
2019-08-13 17:19:00 +03:00
2019-04-25 22:05:54 +05:30
2019-04-26 12:50:26 +05:30
2019-04-25 22:05:54 +05:30
2019-04-25 22:05:54 +05:30
2019-04-25 22:05:54 +05:30
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-12-21 13:18:45 +04:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2018-03-26 17:53:17 +03:00
2016-12-29 13:23:18 +01:00
2017-02-10 06:30:42 -05:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2019-04-01 19:47:24 +03:00
2019-04-01 19:47:24 +03:00
2019-04-01 19:47:24 +03:00
2016-04-26 20:56:25 +02:00
2019-02-08 12:32:31 -08:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2018-10-31 16:06:16 +01:00
2016-04-26 20:56:25 +02:00
2019-04-01 19:47:24 +03:00
2019-04-26 17:02:15 +02:00
2019-04-26 18:26:23 +02:00
2019-05-04 17:04:55 +02:00
2017-05-16 14:26:11 +03:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2016-04-26 20:56:25 +02:00
2017-02-10 06:30:42 -05:00