Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unzip: do not use getenv() and setenv() in test_I.c (libarchive#2177)
This setenv() call may clobber the memory pointed to by lang. It is also insufficient, since you don't run in a clean environment, so LANG may be overridden by an inherited LC_ALL or LC_CTYPE, or by the user's .profile (remember that system() does not execute the command directly, but passes it to a shell). Reported-By: dag-erling (quoting)
- Loading branch information