On Wed, Oct 25, 2017 at 6:03 AM, Andrey Okoshkin [off-list ref] wrote:
Get 'GIT_MERGE_VERBOSITY' environment variable only once in
init_merge_options() and store the pointer to its value for the further check.
No intervening calls to getenv(), putenv(), setenv() or unsetenv() are done
between the initial getenv() call and the consequential result pass to strtol()
as these environment related functions could modify the string pointer returned
by the initial getenv() call.
Signed-off-by: Andrey Okoshkin <redacted>
This is
Reviewed-by: Stefan Beller <redacted>