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
..
2009-06-17 15:54:01 +02:00
2010-03-09 17:51:31 +02:00
2010-03-17 15:10:41 +01:00
2009-08-13 17:07:20 -03:00
2010-04-26 23:59:50 +02:00
2010-03-19 11:06:40 +02:00
2010-03-19 11:06:40 +02:00
2010-06-11 16:52:06 +04:00
2008-05-09 09:43:02 +02:00
2010-01-22 17:38:21 +08:00
2009-02-13 11:41:47 -05:00
2008-11-10 21:21:49 +01:00
2008-05-09 09:43:02 +02:00
2010-02-02 14:17:21 +02:00
2010-03-28 16:37:47 +08:00
2010-03-29 03:32:30 +01:00
2010-05-31 13:25:11 +04:00
2010-03-17 19:15:41 +01:00
2010-01-29 15:08:49 +04:00
2009-02-13 11:41:47 -05:00
2009-06-09 18:11:21 +02:00
2009-10-16 13:29:42 +03:00
2008-03-29 09:52:16 +02:00
2008-03-10 07:07:56 +01:00
2010-04-19 15:48:37 +02:00
2008-02-04 15:40:04 +01:00
2010-05-25 15:41:00 +02:00
2009-11-17 20:02:16 +01:00
2010-04-14 13:53:59 +04:00
2010-06-10 17:45:22 -03:00
2008-04-03 13:14:57 -04:00
2010-06-22 22:53:08 +04:00
2010-06-08 10:28:30 +04:00
2010-03-14 17:01:45 +01:00
2010-03-14 17:01:45 +01:00
2010-03-19 11:06:40 +02:00
2009-12-22 17:52:15 +02:00
2009-11-24 18:26:13 +03:00
2008-02-22 13:30:33 +03:00
2010-03-19 10:21:37 +04:00
2010-03-19 10:21:37 +04:00
2010-05-03 18:14:39 +02:00
2010-03-29 18:42:49 +05:00
2010-06-10 17:45:22 -03:00
2010-04-06 12:26:59 +05:00
2010-06-10 17:45:22 -03:00
2010-06-10 17:45:22 -03:00
2010-02-26 15:16:46 +02:00
2009-12-13 23:29:50 +03:00
2009-11-06 22:34:25 +03:00
2007-11-21 16:00:09 +04:00
2010-06-10 17:45:22 -03:00
2010-05-11 16:21:05 +02:00
2008-10-10 12:01:01 +02:00
2009-07-29 10:54:20 +02:00
2009-08-28 18:21:54 +02:00
2010-06-04 00:45:07 +01:00
2007-12-05 20:00:14 +01:00
2010-06-04 00:45:07 +01:00
2010-05-08 11:25:33 +08:00
2010-05-08 11:25:33 +08:00
2010-05-08 11:25:33 +08:00
2009-09-29 17:38:40 +02:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2008-11-27 12:33:04 +01:00
2009-11-02 09:21:39 -02:00
2010-06-10 17:45:22 -03:00
2009-10-06 13:04:51 +02:00
2010-06-15 18:29:53 +04:00
2010-06-09 11:29:27 +03:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2010-06-21 15:09:58 +04:00
2010-05-10 09:23:23 +02:00
2010-06-11 09:38:29 +02:00
2009-06-19 13:24:43 +05:00
2009-04-13 18:09:10 +05:00
2010-05-04 17:03:28 +03:00
2009-09-02 18:42:08 +03:00
2009-06-01 16:00:38 +04:00
2008-03-21 17:48:28 +02:00
2010-03-23 17:00:50 +02:00
2009-07-29 22:07:08 +02:00
2009-11-03 20:45:52 +03:00
2010-01-22 14:58:21 +04:00
2008-12-29 17:04:10 +01:00
2009-09-10 11:40:57 +04:00
2010-01-28 19:51:40 -02:00
2007-12-14 15:21:37 +02:00
2010-01-28 19:51:40 -02:00
2009-10-22 01:15:45 +01:00
2009-06-16 16:04:30 +01:00
2009-06-16 16:04:30 +01:00
2009-12-14 18:50:22 +02:00
2009-12-14 18:32:22 +02:00
2009-11-20 16:18:01 +01:00
2008-08-20 19:06:31 +05:00
2010-03-17 15:28:49 +01:00
2010-03-17 19:15:41 +01:00
2007-11-14 16:12:46 -05:00
2010-06-04 17:10:22 +03:00
2010-06-04 17:10:22 +03:00
2010-05-04 10:41:28 +01:00
2009-11-12 17:10:19 +02:00
2010-02-13 08:35:14 -02:00
2008-07-03 23:41:22 +04:00
2010-06-08 10:58:19 +02:00
2010-04-01 10:15:22 -03:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2009-11-06 22:34:25 +03:00
2008-01-23 13:26:41 -07:00
2010-06-11 16:52:06 +04:00
2009-11-20 16:18:01 +01:00
2009-08-28 18:21:54 +02:00
2009-06-17 16:56:44 +02:00
2010-03-22 09:51:16 +00:00
2009-11-21 09:18:21 -02:00
2009-06-17 16:56:44 +02:00
2008-03-21 17:48:28 +02:00
2010-05-28 00:07:40 +04:00
2010-06-18 21:32:23 +04:00
2008-01-29 14:14:34 +03:00
2009-11-20 13:49:06 +01:00
2009-11-20 13:49:06 +01:00
2010-05-08 11:25:33 +08:00
2010-06-04 17:10:22 +03:00
2010-06-04 21:58:41 +04:00
2009-12-04 13:36:58 -02:00
2009-12-04 13:36:58 -02:00
2008-12-10 18:16:21 +04:00
2010-01-28 19:51:40 -02:00
2010-06-10 17:45:22 -03:00
2010-06-10 17:45:22 -03:00
2008-02-19 15:45:21 +03:00
2009-02-13 11:41:47 -05:00
2010-06-09 14:45:04 +04:00
2009-06-17 16:56:44 +02:00
2010-03-29 03:32:30 +01:00
2010-06-11 16:52:06 +04:00
2010-06-11 16:52:06 +04:00
2010-06-10 17:45:22 -03:00
2010-06-09 11:29:27 +03:00
2009-10-19 13:41:52 +05:00
2008-12-04 19:41:53 +01:00
2010-06-10 17:45:22 -03:00
2010-06-11 16:52:06 +04:00
2010-05-21 15:23:48 +04:00
2009-12-13 23:29:50 +03:00
2010-06-10 17:16:43 -03:00
2009-05-14 14:03:33 +02:00
2010-06-12 09:52:31 +04:00
2010-03-14 17:01:45 +01:00
2009-06-10 10:59:49 +02:00
2010-01-24 15:03:23 +08:00
2010-05-04 10:17:20 +01:00
2008-03-14 18:38:54 +01:00
2010-06-10 17:45:22 -03:00
2010-02-15 10:54:27 +02:00
2010-01-13 12:39:00 +01:00
2010-06-10 17:45:22 -03:00
2008-11-10 21:21:49 +01:00
2009-07-31 22:14:52 +05:00
2009-07-31 22:14:52 +05:00
2010-06-10 17:45:22 -03:00
2010-01-24 15:03:23 +08:00
2010-01-28 12:10:57 +01:00
2010-06-11 16:52:06 +04:00
2009-01-14 18:50:51 +04:00
2010-01-25 10:55:05 +08:00
2010-06-10 17:45:22 -03:00
2010-06-10 17:45:22 -03:00
2010-06-11 16:52:06 +04:00
2009-04-13 18:09:10 +05:00
2010-06-10 17:45:22 -03:00
2009-09-23 15:21:29 +02:00
2009-11-03 20:45:52 +03:00
2010-06-10 17:16:43 -03:00
2010-06-10 17:45:22 -03:00
2010-05-21 15:23:48 +04:00
2009-11-02 13:24:07 +01:00
2009-06-17 16:56:44 +02:00
2009-01-12 17:40:29 +01:00
2009-09-17 17:25:52 +02:00
2009-06-17 16:56:44 +02:00
2010-06-10 17:16:43 -03:00
2009-07-31 15:28:15 -04:00