[systemd-devel] [RFC 11/25] shared/missing.h: fall pack to insecure getenv

Tom Gundersen teg at jklm.no
Thu Sep 18 09:17:50 PDT 2014


On Thu, Sep 18, 2014 at 4:01 PM, Emil Renner Berthing <systemd at esmil.dk> wrote:
> On 18 September 2014 15:56, Karol Lewandowski <k.lewandowsk at samsung.com> wrote:>
>> I think it would be way better (and easy) to reimplement original
>> secure_getenv() rather than falling back to function with different
>> semantics.  secure_ is there for a reason.
>
> Agreed. Added to my TODO, thanks.


Yeah, please do this in the libc. We cannot fall back to
broken/insecure behaviour.

Cheers,

Tom


More information about the systemd-devel mailing list