1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-13 01:01:44 +03:00
Davi Arnaut 017307f216 Bug#38823: Invalid memory access when a SP statement does wildcard expansion
The problem is that field names constructed due to wild-card
expansion done inside a stored procedure could point to freed
memory if the expansion was performed after the first call to
the stored procedure.

The problem was solved by patch for Bug#38691. The solution
was to allocate the database, table and field names in the
in the statement memory instead of table memory.

mysql-test/r/sp.result:
  Add test case result for Bug#38823
mysql-test/t/sp.test:
  Add test case for Bug#38823
sql/item.cc:
  Remark that this also impacts wildcard expansion inside SPs.
2008-10-14 11:04:36 -03:00
..
2007-08-29 12:44:43 +02:00
2008-01-27 16:41:29 +01:00
2007-11-06 20:31:40 +02:00
2007-08-07 05:35:20 -04:00
2007-06-28 16:03:01 -07: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
2007-11-24 15:02:29 +04:00
2008-03-27 09:37:20 -03:00
2007-03-20 19:36:11 +01:00
2007-07-11 18:45:35 -07:00
2007-06-21 21:39:52 -04:00
2007-11-02 13:40:34 +03:00
2007-11-02 13:40:34 +03:00
2007-08-31 16:59:07 +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
2007-03-21 09:13:05 +01: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
2008-04-04 01:16:55 +04:00
2008-04-04 01:16:55 +04:00
2007-09-24 12:42:44 +02:00
2007-08-22 15:43:16 +03:00
2007-06-06 18:55:21 +05:00
2008-07-26 13:44:07 -07:00
2007-04-17 12:32:01 +02:00
2007-07-22 18:26:16 -07:00
2008-03-14 20:51:32 +01:00
2007-07-15 21:51:36 +04:00
2007-03-29 09:08:30 +05:00
2007-06-03 14:46:09 +04:00
2008-06-27 20:56:41 +05:00
2008-03-26 22:43:12 +04:00
2008-02-07 02:33:21 +04:00
2007-04-23 17:15:51 +03:00