1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-08 00:28:29 +03:00
Files
mariadb/mysql-test/r
unknown 21e6836b39 Fix for BUG#16899: Possible buffer overflow in handling of DEFINER-clause
User name (host name) has limit on length. The server code relies on these
limits when storing the names. The problem was that sometimes these limits
were not checked properly, so that could lead to buffer overflow.
  
The fix is to check length of user/host name in parser and if string is too
long, throw an error.


mysql-test/r/grant.result:
  Updated result file.
mysql-test/r/sp.result:
  Updated result file.
mysql-test/r/trigger.result:
  Updated result file.
mysql-test/r/view.result:
  Updated result file.
mysql-test/t/grant.test:
  Added test for BUG#16899.
mysql-test/t/sp.test:
  Added test for BUG#16899.
mysql-test/t/trigger.test:
  Added test for BUG#16899.
mysql-test/t/view.test:
  Added test for BUG#16899.
sql/mysql_priv.h:
  Added prototype for new function.
sql/sql_acl.cc:
  Remove outdated checks.
sql/sql_parse.cc:
  Add a new function for checking string length.
sql/share/errmsg.txt:
  Added new resources.
sql/sql_yacc.yy:
  Check length of user/host name.
2006-08-24 16:29:24 +04:00
..
2006-05-29 16:27:45 +02:00
2006-06-17 02:57:50 +04:00
2006-03-01 15:50:15 +04:00
2006-06-15 16:39:18 +04:00
2006-05-31 22:55:45 -07:00
2006-06-27 00:47:52 +04:00
2006-06-22 00:29:04 +04:00
2006-05-24 17:21:35 +03:00
2006-06-15 01:48:41 +04:00
2006-04-21 08:19:38 -07:00
2006-06-15 20:29:05 -07:00
2006-06-20 00:52:26 +04:00
2006-06-27 17:00:24 +05:00
2006-01-06 00:47:49 +02:00
2006-05-16 22:19:44 -07:00
2006-02-03 00:07:36 +03:00
2006-06-29 16:31:08 +04:00
2005-12-06 21:28:13 +01:00
2006-05-03 16:42:39 +05:00
2006-05-17 20:48:48 -07:00
2006-05-31 22:55:45 -07:00
2006-03-06 23:43:47 +01:00
2005-09-14 12:24:14 +03:00
2005-12-06 21:28:13 +01:00
2006-05-04 09:58:03 +05:00
2005-10-12 15:19:51 +02:00
2006-02-07 19:57:31 +01:00
2006-06-12 15:36:12 +02:00
2005-09-15 22:21:30 +04:00
2006-05-31 22:55:45 -07:00
2006-06-27 00:47:52 +04:00
2006-06-17 02:57:50 +04:00
2005-09-14 23:12:01 +03:00
2006-06-21 01:14:53 +04:00
2006-05-03 16:47:05 +05:00
2006-04-27 21:59:04 +09:30
2006-06-01 16:51:19 -07:00
2006-06-01 16:51:19 -07:00
2005-10-10 19:38:58 +02:00
2006-06-09 19:29:39 -07:00
2006-04-26 17:09:41 -07:00
2006-03-31 21:26:17 -08:00
2006-06-21 13:01:00 +03:00