Bug 1916 - UTIL_STR.C - OpenVMS needs '$' not to be substituted.
UTIL_STR.C - OpenVMS needs '$' not to be substituted.
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
Alpha OpenVMS
: P3 enhancement
: none
Assigned To: Tim Potter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2004-10-11 18:05 UTC by John Malmberg
Modified: 2004-10-11 18:05 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John Malmberg 2004-10-11 18:05:08 UTC
Tracking entry for a VMS specific issue in util_str.c/string_sub()

The $ character has a different meaning in OpenVMS DCL shell commands than with
UNIX, and substituting an underscore for it can cause failures.

In OpenVMS, the presence of a $ in a filename, environment symbol, or other
system resource name is used to indicate that the use of that name is reserved
to OpenVMS designated uses, and it prevents name space collisions.

Of course because the bash shell is optionally available on OpenVMS,
consideration may be needed to prevent exploits, if this is what the string
substitution is suppose to prevent.