K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2008-05-24T15:13:03.072337Z
K 7
svn:log
V 511
When an article of a size greater than remaining stack is retrieved via 
SSL, a segmentation fault will occur due to the use of alloca().
The below patch uses heap based realloc() instead of stack based alloca(), 
with a static buffer growing as needed.
It uses realloc() instead of malloc() for performance reasons since this 
function is called frequently.  The caveat is that the memory is never 
free()'ed, so if more correct code is desired, it should be adjusted.

Thanks to Chris Caputo for this patch.


END
