sniper Sun Mar 18 00:00:10 2001 EDT Modified files: /php4/main SAPI.c Log: Fix possible crash if content-type is not set. Index: php4/main/SAPI.c diff -u php4/main/SAPI.c:1.101 php4/main/SAPI.c:1.102 --- php4/main/SAPI.c:1.101 Sat Mar 17 18:32:04 2001 +++ php4/main/SAPI.c Sun Mar 18 00:00:10 2001 @@ -97,7 +97,7 @@ SAPI_API void sapi_handle_post(void *arg SLS_DC) { - if (SG(request_info).post_entry) { + if (SG(request_info).post_entry && SG(request_info).content_type_dup) { SG(request_info).post_entry->post_handler(SG(request_info).content_type_dup, arg SLS_CC); if (SG(request_info).post_data) { efree(SG(request_info).post_data); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]