You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ondrej Sury <on...@sury.org> on 2005/09/23 13:44:38 UTC

[PATCH 36410] Backport: mod_cgid segfaults when module other than mod_suexec is providing uid/gid

Hi,

could I raise your attention to following backported patch?  I would be
nice to have it in 2.0.55

(from STATUS)
    *) mod_cgid: Fix PR 36410. Invoke the set_suexec_identity hook from
       the non-cgid side of the handler, where the full per-server/dir/etc
       configuration is available instead of using two mod_suexec and
       mod_userdir specific hacks. See mod_vhost_ldap[1] for an example
       third-party get_suexec_identity implementation.
         http://people.apache.org/~colm/2.0.x-suexec-cgid.patch
       +1: colm

mod_vhost_ldap is not only module setting suexec uid/gid.  There is a
plenty other vhost modules doing more or less same thing.  Problem is on
Debian where mod_cgid is selected instead mod_cgi when MPM worker is
used.

Ondrej

1. http://modvhostldap.alioth.debian.org/

P.S.: This together with mod_ldap caching fix backport patch are
problems found when I wrote mod_vhost_ldap.  Thanks goes to Fabian
Fagerholm who discovered what exactly problem is and to Colm for fixing
it.

-- 
Ondrej Sury <on...@sury.org>