1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-27 13:04:36 +03:00
Files
mariadb/sql
Davi Arnaut 0008e06489 Bug#51817: incorrect assumption: thd->query at 0x2ab2a8360360 is an invalid pointer
The problem is that the logic which checks if a pointer is
valid relies on a poor heuristic based on the start and end
addresses of the data segment and heap.

Apart from miscalculating the heap bounds, this approach also
suffers from the fact that memory can come from places other
than the heap. See Bug#58528 for a more detailed explanation.

On Linux, the solution is to access the process's memory
through /proc/self/task/<tid>/mem, which allows for retrieving
the contents of pages within the virtual address space of
the calling process. If a address range is not mapped, a
input/output error is returned.
2010-11-26 19:59:10 -02:00
..
2010-03-17 19:15:41 +01:00
2010-11-26 14:51:48 +02:00
2010-10-01 13:39:49 +02:00
2010-07-09 15:00:33 +02:00
2010-09-09 16:48:06 +04:00
2010-06-08 10:28:30 +04:00
2010-11-26 14:51:48 +02:00
2010-03-29 18:42:49 +05:00
2010-11-09 12:45:13 -02:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2009-06-01 16:00:38 +04:00
2010-07-23 18:15:56 +07:00
2010-01-28 19:51:40 -02:00
2010-01-28 19:51:40 -02:00
2010-03-17 19:15:41 +01:00
2008-07-03 23:41:22 +04:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2008-01-23 13:26:41 -07:00
2010-06-11 16:52:06 +04:00
2010-07-26 11:56:30 +02:00
2010-11-26 14:51:48 +02:00
2010-08-24 14:44:15 +04:00
2010-01-24 15:03:23 +08:00
2009-01-14 18:50:51 +04:00
2010-01-25 10:55:05 +08:00
2010-06-11 16:52:06 +04:00
2009-11-03 20:45:52 +03:00
2009-06-17 16:56:44 +02:00