From ddfa722a03ab3649783f8798df02d94a8a8ef6e3 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Thu, 14 Mar 2019 14:40:33 +0400 Subject: MDEV-18626 ASAN stack-buffer-overflow in int10_to_str / make_date_time upon DATE_FORMAT --- mysql-test/t/func_time.test | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mysql-test/t') diff --git a/mysql-test/t/func_time.test b/mysql-test/t/func_time.test index 05c19a9730a..eabff67ca62 100644 --- a/mysql-test/t/func_time.test +++ b/mysql-test/t/func_time.test @@ -1929,6 +1929,13 @@ DROP TABLE t1; SELECT NULLIF('foo', FROM_UNIXTIME('2012-12-12 12:12:12', TRIM(0))); +--echo # +--echo # MDEV-18626 ASAN stack-buffer-overflow in int10_to_str / make_date_time upon DATE_FORMAT +--echo # + +SELECT DATE_FORMAT(100000000000, '%j'); + + --echo # --echo # End of 10.1 tests --echo # -- cgit v1.2.1