Subject: Re: kde2: bugfix for kdm
To: Ingolf Steinbach <firstname.lastname@example.org>
From: Berndt Josef Wulf <email@example.com>
Date: 01/04/2001 09:19:52
Ingolf Steinbach wrote
> while trying Nick's KDE2 packages, I have found a bug in
> kdm/server.c (from kdebase):
> The StartClient() function calls setusercontext() which
> manipulates the process environment (e.g. sets the PATH
> variable). This process environment has previously been
> set to an array created on the *stack*.
> setusercontext() calls setenv() which may need to enlarge
> the process environment via realloc() (and it really does
> so!) which fails as the environment was not allocated on
> the heap.
> The attached patch file seems to fix the problem.
Applied your patch but it still won't work for me. I always comes back
to itself after login attempts.
Name : Berndt Josef Wulf | +++ With BSD on Packet Radio +++
E-Mail : firstname.lastname@example.org | tfkiss, tnt, dpbox, wampes
ICQ : 18196098 | VK5ABN, Nairne, South Australia
URL : http://www.ping.net.au/~wulf | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.4.2 | BBS : vk5abn.#lmr.#sa.aus.oc