From 3a09eb44cff26a263e60ced10491c53b72ae4538 Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 26 Nov 2003 00:33:48 +0000 Subject: [PATCH] MFH: On error do not leave content_type_dup unitialized. --- main/SAPI.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/SAPI.c b/main/SAPI.c index 94e4a89883..ebe6320090 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -160,6 +160,7 @@ static void sapi_read_post_data(TSRMLS_D) SG(request_info).post_entry = NULL; if (!sapi_module.default_post_reader) { /* no default reader ? */ + SG(request_info).content_type_dup = NULL; sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type); return; } -- 2.40.0