diff options
author | Paul Smith <psmith@gnu.org> | 2013-11-24 03:45:02 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-11-24 03:45:02 -0500 |
commit | f8905059c3caba75fcbf6481ae6cc2b2eefdd67f (patch) | |
tree | 91505684b88bd67572437eaf0181f330cc2a4732 /tests/scripts/functions/foreach | |
parent | 12a3104c3d0cbb0e2a0c3e0eed6fe4793d7d2629 (diff) | |
download | gunmake-f8905059c3caba75fcbf6481ae6cc2b2eefdd67f.tar.gz |
Fix memory leak during environment option decoding.
* main.c (decode_switches): Always make a copy of option arguments.
(decode_env_switches): Use a stack buffer to convert environment
switches for parsing.
Diffstat (limited to 'tests/scripts/functions/foreach')
0 files changed, 0 insertions, 0 deletions