Jilles Tjoelker 336e0c87fa sh: Remove linked list of stack marks.
The linked list of stack marks may cause problems if the allocation stack is
used between an exception and a higher-level popstackmark(), as it may then
touch a stack mark that is local to a function which has returned.

Also, the adjustment compares to a pointer passed to realloc(), which is
undefined behaviour.

Instead of adjusting stack marks when reallocating stack blocks, ensure that
such an adjustment is never necessary by fixing a small piece of memory in
place at a stack mark. This also simplifies the code.

To avoid the problems reported in bin/175922, it remains necessary to call
setstackmark() after popstackmark() if the stack mark remains in use.
2013-05-11 20:51:00 +00:00
..
2011-05-13 16:29:57 +00:00
2013-03-15 20:12:54 +00:00
2012-02-22 03:36:15 +00:00
2013-05-10 18:43:36 +00:00
2013-04-28 22:52:43 +00:00
2012-05-12 02:49:40 +00:00
2012-12-28 22:06:33 +00:00
2013-03-15 20:12:54 +00:00
2013-04-27 21:59:43 +00:00
2011-02-04 16:40:50 +00:00
2013-03-15 20:12:54 +00:00
2013-04-26 17:56:35 +00:00
2010-02-15 14:07:40 +00:00
2013-03-15 20:12:54 +00:00
2013-05-11 20:51:00 +00:00
2012-07-15 21:12:22 +00:00
2010-09-13 01:29:51 +00:00