Make the huge buffer smaller, so the size becomes reasonable for small-stack environments.
Notified by Verdon Walker <VWalker@novell.com>
This commit is contained in:
parent
c559759265
commit
06bed64317
@ -762,7 +762,9 @@ int BIO_vprintf (BIO *bio, const char *format, va_list args)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
size_t retlen;
|
size_t retlen;
|
||||||
MS_STATIC char hugebuf[1024*10];
|
char hugebuf[1024*2]; /* Was previously 10k, which is unreasonable
|
||||||
|
in small-stack environments, like threads
|
||||||
|
or DOS programs. */
|
||||||
char *hugebufp = hugebuf;
|
char *hugebufp = hugebuf;
|
||||||
size_t hugebufsize = sizeof(hugebuf);
|
size_t hugebufsize = sizeof(hugebuf);
|
||||||
char *dynbuf = NULL;
|
char *dynbuf = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user