jilles e0dffd814f 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-27 20:53:07 +00:00
2013-04-01 17:18:22 +00:00
2013-04-01 17:18:22 +00:00
2013-04-01 17:18:22 +00:00
2012-07-15 10:49:16 +00:00
2012-01-01 22:17:12 +00:00
2013-04-07 16:28:36 +00:00
2011-06-18 23:43:28 +00:00
2013-04-01 17:18:22 +00:00
2013-04-01 17:18:22 +00:00
2009-12-24 18:41:14 +00:00
2013-04-01 17:18:22 +00:00
2013-05-09 21:29:16 +00:00
2012-02-04 23:12:14 +00:00