]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix uninitialized variable problem in hush shell
authorWolfgang Denk <wd@pollux.(none)>
Tue, 27 Sep 2005 23:49:47 +0000 (01:49 +0200)
committerWolfgang Denk <wd@pollux.(none)>
Tue, 27 Sep 2005 23:49:47 +0000 (01:49 +0200)
Patch by Lars Rostock, 26 Sep 2005

CHANGELOG
common/hush.c

index 48ef16446b1c216f8ddfc2a8148c9406744a9b0f..50abc49ea8a9fdcc18801c8a93a6395c39774993 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes for U-Boot 1.1.4:
 ======================================================================
 
+* Fix uninitialized variable problem in hush shell
+  Patch by Lars Rostock, 26 Sep 2005
+
 * Undo change of f6e20fc6ca... to include/configs/trab.h
   (Must have been an accident?)
 
index eb7f7f15606ab652d43e2012db487fae0292962c..c10b1176f65638dcec691f62a6a1809661dd8661 100644 (file)
@@ -2389,6 +2389,7 @@ struct pipe *new_pipe(void) {
        pi->progs = NULL;
        pi->next = NULL;
        pi->followup = 0;  /* invalid */
+       pi->r_mode = RES_NONE;
        return pi;
 }