Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_fastcgi
> mod_fastcgi-2.4.2-debug.dif
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mod_fastcgi-2.4.2-debug.dif of Package apache2-mod_fastcgi
Index: mod_fastcgi-2.4.2/fcgi_util.c =================================================================== --- mod_fastcgi-2.4.2.orig/fcgi_util.c 2007-02-23 12:39:59.524577000 +0100 +++ mod_fastcgi-2.4.2/fcgi_util.c 2007-02-23 12:43:13.876027000 +0100 @@ -365,6 +365,7 @@ const char * fcgi_util_fs_is_path_ok(pool * const p, const char * const fs_path, struct stat *finfo) { const char *err; + return NULL; if (finfo == NULL) { finfo = (struct stat *)apr_palloc(p, sizeof(struct stat)); @@ -372,6 +373,10 @@ fcgi_util_fs_is_path_ok(pool * const p, return apr_psprintf(p, "stat(%s) failed: %s", fs_path, strerror(errno)); } + if (!fs_path) { + return apr_psprintf(p, "fs_path is not set"); + } + /* No Parse Header scripts aren't allowed. * @@@ Well... we really could quite easily */ if (strncmp(strrchr(fs_path, '/'), "/nph-", 5) == 0)