Mercurial > gnulib
diff ChangeLog @ 17329:a72ac603a92f
putenv: fix heap corruption with mixed putenv/_putenv
Problem reported by Michael Goffioul in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00061.html>.
* lib/putenv.c (putenv) [HAVE__PUTENV]:
Rely on _putenv to allocate the new environment.
* m4/putenv.m4 (gl_PREREQ_PUTENV): New macro.
* modules/putenv (configure.ac): Use it.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 14 Feb 2013 13:14:18 -0800 |
parents | bb52d9cece01 |
children | 6f8d1926ece8 |
line wrap: on
line diff
--- a/ChangeLog Thu Feb 14 09:43:22 2013 -0800 +++ b/ChangeLog Thu Feb 14 13:14:18 2013 -0800 @@ -1,3 +1,13 @@ +2013-02-14 Paul Eggert <eggert@cs.ucla.edu> + + putenv: fix heap corruption with mixed putenv/_putenv + Problem reported by Michael Goffioul in + <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00061.html>. + * lib/putenv.c (putenv) [HAVE__PUTENV]: + Rely on _putenv to allocate the new environment. + * m4/putenv.m4 (gl_PREREQ_PUTENV): New macro. + * modules/putenv (configure.ac): Use it. + 2013-02-11 Paul Eggert <eggert@cs.ucla.edu> unsetenv etc.: port to Solaris 11 + GNU Emacs