[PATCH] shared.c: Only setenv() if value is non-null

Lars Hjemli hjemli at gmail.com
Tue Jan 3 16:06:46 CET 2012


On Wed, Sep 14, 2011 at 11:52, Lukas Fleischer <cgit at cryptocrack.de> wrote:
> Some setenv() implementations (e.g. the one in OpenBSD's stdlib)
> segfault if we pass a NULL value. Only set environment variables if the
> corresponding settings are defined to avoid this.

Thanks, also finally applied.

--
larsh




More information about the CGit mailing list