فهرست منبع

Fix uninitialized variable problem in hush shell
Patch by Lars Rostock, 26 Sep 2005

Wolfgang Denk 19 سال پیش
والد
کامیت
e98f68be94
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 3 0
      CHANGELOG
  2. 1 0
      common/hush.c

+ 3 - 0
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?)
 

+ 1 - 0
common/hush.c

@@ -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;
 }