Bug 11578 - ip-up/down passes parameters insecure to ip-up/down.local
ip-up/down passes parameters insecure to ip-up/down.local
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-05-22 10:39 EDT by thk
Modified: 2014-03-16 22:13 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-05-22 10:39:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description thk 2000-05-22 10:39:04 EDT
/etc/ppp/ip-up and /etc/ppp/ip-down should pass parameters to
ip-up.local and ip-down.local with "$@", *not* with $*

reproduce error:
If you start a pppd with 'pty' parameter the
ip-up/down scripts are called with an empty $2 (tty_name).
In ip-up/down.local all parameter positions after that are shifted
by one.

edit /etc/ppp/ip-{up,down} and change all occurences
of $* into "$@"  (with doublequotes)
Comment 1 Bill Nottingham 2000-07-12 15:10:22 EDT
Fixed in the latest initscripts packages.

Note You need to log in before you can comment on or make changes to this bug.