Re:This is the exploit equivalent of that guy who played the...
by tedunangst on Monday July 06, 2009 @10:02PM
(#690777)
Throwing up an error message is likely to require allocating some of the memory you just ran out of. There's very little you can reasonably expect to do when you run out of memory. The caller needs to carefully back out, but this isn't something a wrapper can do by itself.
[ Parent
| on HN ]
Re:This is the exploit equivalent of that guy who played the...
by mfukar on Tuesday July 07, 2009 @02:39AM
(#691045)
Strings are still statically allocated (courtesy of C compilers everywhere), right?
and I guess if you have to make one function call to throw an error message, there's some room left in the stack..
and then there's the whole virtual memory thing..
but I could be reasonably wrong. :-)