1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/mysql-test/r
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
..
2009-05-31 20:10:59 +08:00
2007-11-06 20:31:40 +02:00
2009-11-03 19:58:54 +03:00
2007-12-13 15:47:23 +04:00
2007-10-19 17:07:08 +02:00
2007-06-28 16:03:01 -07:00
2007-07-06 11:35:10 -07:00
2007-07-06 11:35:10 -07:00
2009-02-06 18:25:08 +01:00
2007-07-23 23:35:43 -07:00
2007-06-07 20:25:22 +02:00
2007-07-11 18:45:35 -07:00
2007-11-02 13:40:34 +03:00
2009-11-23 14:38:08 -08:00
2007-08-31 16:59:07 +05: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
2007-11-20 20:15:20 +04:00
2009-02-27 16:11:15 +02:00
2007-11-30 18:06:28 +01:00
2009-12-10 11:44:19 +08:00
2008-04-04 01:16:55 +04:00
2007-06-06 18:55:21 +05:00
2008-08-26 14:21:07 +05:00
2008-03-14 20:51:32 +01:00
2010-03-10 19:28:49 +04:00