commit | f8905059c3caba75fcbf6481ae6cc2b2eefdd67f | [log] [tgz] |
---|---|---|
author | Paul Smith <psmith@gnu.org> | Sun Nov 24 03:45:02 2013 -0500 |
committer | Paul Smith <psmith@gnu.org> | Sun Nov 24 03:45:02 2013 -0500 |
tree | 91505684b88bd67572437eaf0181f330cc2a4732 | |
parent | 12a3104c3d0cbb0e2a0c3e0eed6fe4793d7d2629 [diff] |
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.