Terminate the new environment with a NULL pointer
Modified: trunk/reactos/lib/crt/misc/environ.c
_____
Modified: trunk/reactos/lib/crt/misc/environ.c
--- trunk/reactos/lib/crt/misc/environ.c 2005-10-12 08:38:45 UTC
(rev 18409)
+++ trunk/reactos/lib/crt/misc/environ.c 2005-10-12 13:00:34 UTC
(rev 18410)
@@ -178,6 +178,7 @@
return original_environment;
}
}
+ *newenvptr = NULL;
return newenv;
}
Show replies by date