> Von: "Jarosław Staniek"
> For review; remove crashes in putenv(): use "" instead of NULL value
> (needed 
> e.g. for unsetenv()).
> 
> NULL values caused a crash in strlen() and _putenv_s(), at least on Vista.
> 
> Noticed that in the code of knotify4:
> 
>    unsetenv( "SESSION_MANAGER" );
Strange but fine with me :)

putenv_s really seems to be to 'more secure' function - it's more secure that 
it's crashing when using invalid values :D



Christian
-- 
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows

Reply via email to