diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-23 21:56:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-23 21:56:50 +0000 |
commit | 13c37ad39abb4ca3529f8ce56d1b0b9fe25d6d22 (patch) | |
tree | 9fb198881ce313dcf80265d65a45a13d90e220be /cpukit/ChangeLog | |
parent | 2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-13c37ad39abb4ca3529f8ce56d1b0b9fe25d6d22.tar.bz2 |
2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c: Always duplicate the environment passed to us
because we will delete it when the shell exits. If we do not
duplicate it, we could end up freeing memory which was not allocated
from the heap or double freeing it.
Diffstat (limited to 'cpukit/ChangeLog')
-rw-r--r-- | cpukit/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8c6836242a..a30f4d5436 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,12 @@ 2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> + * libmisc/shell/shell.c: Always duplicate the environment passed to us + because we will delete it when the shell exits. If we do not + duplicate it, we could end up freeing memory which was not allocated + from the heap or double freeing it. + +2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> + * libmisc/shell/login_prompt.c: Properly process EOF and do not depend on ungetc() to propagate the status back. |