Alexey Kopytov
07e95b39c4
Bug#54477: Crash on IN / CASE with NULL arguments
...
Incorrect handling of NULL arguments could lead to a crash on
the IN or CASE operations when either NULL arguments were
passed explicitly as arguments (IN) or implicitly generated by
the WITH ROLLUP modifier (both IN and CASE).
Item_func_case::find_item() assumed all necessary comparators
to be instantiated in fix_length_and_dec(). However, in the
presence of WITH ROLLUP modifier, arguments could be
substituted with an Item_null leading to an "unexpected"
STRING_RESULT comparator being invoked.
In addition to the problem identical to the above,
Item_func_in::val_int() could crash even with explicitly passed
NULL arguments due to an optimization in fix_length_and_dec()
leading to NULL arguments being ignored during comparators
creation.
2010-06-22 22:53:08 +04:00
..
2010-05-24 21:54:08 +08:00
2009-12-18 14:00:30 +02:00
2010-03-25 23:57:06 +04:00
2010-02-09 11:30:50 +01:00
2010-02-25 23:13:11 +04:00
2010-05-28 00:07:40 +04:00
2010-02-02 14:17:21 +02:00
2010-04-22 15:52:00 +02:00
2009-11-25 12:25:49 +05:30
2010-03-09 07:36:26 -03:00
2009-12-22 13:52:23 +04:00
2010-05-24 21:54:08 +08:00
2010-01-16 15:44:24 +08:00
2010-02-17 16:13:42 +04:00
2010-05-24 21:54:08 +08:00
2010-03-22 16:27:59 +04:00
2010-04-06 12:26:59 +05:00
2009-12-03 13:22:34 +04:00
2010-02-17 16:13:42 +04:00
2009-11-18 13:49:45 +01:00
2010-05-14 15:36:27 +04:00
2010-05-21 15:23:48 +04:00
2010-05-19 11:18:59 +02:00
2010-05-29 22:16:45 +04:00
2010-05-24 21:54:08 +08:00
2009-12-22 17:52:15 +02:00
2010-03-25 16:08:21 +04:00
2010-04-03 00:30:22 +04:00
2010-03-31 17:00:56 +04:00
2009-11-24 18:26:13 +03:00
2010-06-22 22:53:08 +04:00
2010-06-08 10:22:40 +04:00
2010-03-26 09:49:35 +04:00
2010-02-09 11:30:50 +01:00
2010-03-25 15:49:01 +04:00
2009-12-11 16:02:47 +02:00
2010-05-04 17:03:28 +03:00
2010-05-12 20:10:33 +04:00
2010-06-11 09:38:29 +02:00
2010-06-09 14:45:04 +04:00
2010-04-05 16:10:26 +05:00
2010-01-21 17:14:10 +02:00
2009-11-12 12:43:33 +01:00
2010-05-28 00:07:40 +04:00
2010-06-21 15:09:58 +04:00
2010-06-01 11:54:06 +04:00
2010-04-27 00:46:52 +04:00
2010-06-09 11:29:27 +03:00
2010-05-28 00:07:40 +04:00
2010-05-12 13:19:12 +02:00
2010-02-26 09:22:48 -03:00
2010-03-19 10:01:02 +04:00
2010-03-12 10:33:16 +04:00
2010-05-24 21:54:08 +08:00
2010-03-25 16:11:16 +04:00
2009-12-04 14:00:20 -02:00
2009-12-17 12:06:36 -08:00
2010-03-22 13:10:18 +01:00
2010-03-28 19:57:33 +08:00
2010-05-07 00:41:37 +04:00
2010-06-03 10:31:26 +02:00
2010-06-03 10:31:26 +02:00
2010-02-09 18:13:57 +01:00
2010-02-05 17:51:55 +00:00
2009-11-06 17:54:19 +03:00
2010-01-29 16:54:27 +02:00
2009-12-10 17:38:01 +02:00
2010-05-07 00:41:37 +04:00
2009-12-13 23:29:50 +03:00
2010-02-01 16:07:00 +01:00
2010-05-25 15:41:00 +02:00
2010-03-12 11:52:38 +01:00
2010-03-12 11:52:38 +01:00
2010-03-04 12:09:09 +01:00
2010-03-22 16:30:27 +04:00
2010-03-13 18:32:42 -03:00
2010-01-16 15:44:24 +08:00
2010-04-30 15:27:17 +04:00
2010-03-24 17:37:41 +01:00
2010-05-10 09:23:23 +02:00
2010-05-21 22:47:32 +04:00
2010-04-16 16:42:34 +05:00
2010-02-26 17:40:01 +04:00
2010-02-09 11:30:50 +01:00
2010-03-31 16:12:37 +03:00
2010-02-05 13:39:46 +04:00
2010-01-12 15:16:26 +01:00
2010-05-24 21:54:08 +08:00
2010-02-09 11:30:50 +01:00
2010-02-13 08:35:14 -02:00
2009-11-21 09:18:21 -02:00
2010-02-09 11:30:50 +01:00
2009-11-27 18:10:28 +02:00
2009-12-02 15:17:08 +04:00
2010-02-09 11:30:50 +01:00
2010-03-09 07:36:26 -03:00
2010-04-02 01:35:36 +05:30
2010-04-01 18:49:02 +04:00
2010-04-01 10:15:22 -03:00
2010-02-16 13:13:49 +04:00
2010-02-09 11:30:50 +01:00
2010-03-16 10:20:07 +01:00
2010-03-09 07:36:26 -03:00
2009-11-20 12:10:47 +02:00
2010-05-31 13:25:11 +04:00
2010-02-09 11:30:50 +01:00
2010-03-22 12:33:25 +04:00
2010-03-18 11:26:27 +01:00
2010-03-09 07:36:26 -03:00
2010-03-10 17:10:05 +01:00
2010-05-21 22:47:32 +04:00
2009-12-22 14:38:33 +04:00
2010-02-11 14:26:58 +01:00
2010-05-20 10:31:03 +04:00
2010-06-04 17:10:22 +03:00
2010-03-09 07:36:26 -03:00
2010-02-12 00:54:14 -02:00
2010-04-06 12:26:59 +05:00
2010-02-09 11:30:50 +01:00
2010-03-10 19:31:22 +04:00