>Number:         5303
>Category:       config
>Synopsis:       Shell metacharacters in string returned by GuessOS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Nov 13 22:20:01 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.9
>Environment:
uname -a
OS/390 MVS3 02.00 01 9672
>Description:
=========================================================================
===== If GuessOS returns shell metacharacters, configure incorporates these
===== in pathnames, which causes "make" to generate bad syntax in shell 
commands.
=========================================================================
diff -bru orig/apache_1.3.9/src/helpers/GuessOS apache_1.3.9/src/helpers/GuessOS
--- orig/apache_1.3.9/src/helpers/GuessOS       Mon Aug  9 01:38:44 1999
+++ apache_1.3.9/src/helpers/GuessOS    Sat Nov 13 20:26:53 1999
@@ -326,5 +326,5 @@
 # At this point we gone through all the one's
 # we know of: Punt

-echo "${MACHINE}-whatever-${SYSTEM}|${RELEASE}|${VERSION}"
+echo "${MACHINE}-whatever-${SYSTEM}-${RELEASE}-${VERSION}"
 exit 0
>How-To-Repeat:
Run "configure -shadow" on an unknown OS.
>Fix:
Patch above.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]



Reply via email to