summaryrefslogtreecommitdiffstats
path: root/cpukit/ChangeLog
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 21:56:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 21:56:50 +0000
commit13c37ad39abb4ca3529f8ce56d1b0b9fe25d6d22 (patch)
tree9fb198881ce313dcf80265d65a45a13d90e220be /cpukit/ChangeLog
parent2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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/ChangeLog7
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.