152993 approved by don, rev'd by Lou. fixes (debug builds only) a random crasher when posting data.
This commit is contained in:
Родитель
2a47d9d74f
Коммит
d83039be07
|
@ -600,7 +600,7 @@ NET_WritePostData(MWContext *context,
|
|||
memset(data_obj, 0, sizeof(struct WritePostDataData));
|
||||
|
||||
data_obj->last_line_was_complete = TRUE;
|
||||
data_obj->buffer = (char *) PR_Malloc(POST_DATA_BUFFER_SIZE);
|
||||
data_obj->buffer = (char *) PR_Calloc(1, POST_DATA_BUFFER_SIZE);
|
||||
|
||||
if(!data_obj->buffer)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче