--- parser3/src/classes/form.C 2002/10/31 15:01:53 1.33 +++ parser3/src/classes/form.C 2003/03/17 14:48:04 1.34.4.1 @@ -1,11 +1,11 @@ /** @file Parser: @b form parser class. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_FORM_C="$Date: 2002/10/31 15:01:53 $"; +static const char* IDENT_FORM_C="$Date: 2003/03/17 14:48:04 $"; #include "classes.h" #include "pa_request.h" @@ -65,7 +65,7 @@ void MForm::configure_admin(Request& r) // read POST data if(r.info.content_length) { - char *post_data=(char *)pool.malloc(r.info.content_length); + char *post_data=(char *)pool.malloc_atomic(r.info.content_length); r.post_size=SAPI::read_post(pool, post_data, r.info.content_length); r.post_data=post_data; }