1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/mysql-test/t
Tor Didriksen a6145f4b62 Bug#12563865 ROUNDED,TMP_BUF,DECIMAL_VALUE STACK CORRUPTION IN ALL VERSIONS >=5.0
Buffer over-run on all platforms, crash on windows, wrong result on other platforms,
when rounding numbers which start with 999999999 and have
precision = 9 or 18 or 27 or 36 ...


mysql-test/r/type_newdecimal.result:
  New test cases.
mysql-test/t/type_newdecimal.test:
  New test cases.
sql/my_decimal.h:
  Add sanity checking code, to catch buffer over/under-run.
strings/decimal.c:
  The original initialization of intg1 (add 1 if buf[0] == DIG_MAX)
  will set p1 to point outside the buffer, and the loop to copy the original value
      while (buf0 < p0)
        *(--p1) = *(--p0);
  will overwrite memory outside the my_decimal object.
2011-10-14 10:09:53 +02:00
..
2008-01-27 16:41:29 +01:00
2007-11-06 20:31:40 +02:00
2009-11-03 19:58:54 +03:00
2009-11-03 19:58:54 +03:00
2007-08-07 05:35:20 -04:00
2007-10-19 17:07:08 +02:00
2009-12-21 14:40:08 +03:00
2009-02-06 18:25:08 +01:00
2007-11-02 13:40:34 +03:00
2007-11-02 13:40:34 +03:00
2008-12-17 15:01:34 -05:00
2007-08-31 16:59:07 +05:00
2007-11-05 20:18:22 +01:00
2007-10-26 08:42:33 +02:00
2008-01-27 16:41:29 +01:00
2007-11-05 20:18:22 +01:00
2008-01-22 14:18:47 +01:00
2007-11-20 20:15:20 +04:00
2007-11-30 18:06:28 +01:00
2008-08-22 19:49:51 +02:00
2009-12-10 11:44:19 +08:00
2008-04-04 01:16:55 +04:00
2008-04-04 01:16:55 +04:00
2009-07-03 10:19:32 +02:00
2008-03-14 20:51:32 +01:00
2008-02-07 02:33:21 +04:00
2010-03-10 19:28:49 +04:00