* modules/generators/mod_cgi.c (cgi_handler): Fix possible segfaults in CGI bucket methods if invoked from a subrequest. PR: 31247