[BusyBox 0000449]: Uninitialized variable in hush shell
bugs at busybox.net
bugs at busybox.net
Tue Sep 27 23:45:41 UTC 2005
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=449
======================================================================
Reported By: wd
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 449
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 09-27-2005 16:45 PDT
Last Modified: 09-27-2005 16:45 PDT
======================================================================
Summary: Uninitialized variable in hush shell
Description:
Under certain conditions the execution of a hush script resulted in a
"syntax error" message which was not correct. It urned out that the
element "r_mode" of "struct pipe" was uninitialized - it gets set in
done_pipe(), but this function calls new_pipe() which allocates a new
object "struct pipe" without initializing r_mode. In our test case
"r_mode" happenend to contain "6" which is RES_FOR, so hush expected to
find a "for" loop which was not present...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
09-27-05 16:45 wd New Issue
09-27-05 16:45 wd Status new => assigned
09-27-05 16:45 wd Assigned To => BusyBox
09-27-05 16:45 wd File Added: patch
======================================================================
More information about the busybox-cvs
mailing list