Bug 65471 - single quotes in provider name are not escaped correctly
single quotes in provider name are not escaped correctly
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
7.3
All Linux
medium Severity low
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
:
: 67273 (view as bug list)
Depends On:
Blocks: rcn-7.3
  Show dependency treegraph
 
Reported: 2002-05-24 19:11 EDT by Need Real Name
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-06-26 12:10:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-05-24 19:11:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408

Description of problem:
For example, a provider name of:
Dad's provider
produces many error messages when rp3 is run, and ultimately a segfault.

The configuration file produced looks something like this:

<cut>
# for the documentation of these parameters.
USERCTL=yes
BOOTPROTO=dialup
NAME='Dad's provider'
DEVICE=ppp0
TYPE=Modem
ONBOOT='no'
</cut>

As you can see, the ' character isn't handled properly.

This is probably true of all types of connection, but I have only tested it for
modem dialup connections

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Add a new network connection using the Internet Configuration Wizard
2. Set its provider name to to some text containing a single quote
3. Run rp3, preferably from the command line, as you get to see error messages
that way.
	

Actual Results:  Printed a bunch of debug info, complaining about unexpected
EOF's and not being able to close a single quote

Expected Results:  Should have dialed out

Additional info:

Workaround: delete the connection and recreate it with a single-quote-less name.
Comment 1 Harald Hoyer 2002-06-26 10:23:42 EDT
*** Bug 67273 has been marked as a duplicate of this bug. ***
Comment 2 Harald Hoyer 2002-06-26 12:10:34 EDT
fixed in CVS
Comment 3 Harald Hoyer 2002-10-23 05:56:46 EDT
first beta of erratum is available at:
ftp://people.redhat.com/harald/redhat-config-network/1.0.1-1/

Most of the bugs reported have been removed, but as in every software change,
there could be new bugs introduced.

Please report bugs against this with explicitly stating the 1.0.1 version... Thx
and please test.
Comment 4 John Flanagan 2003-02-14 16:04:16 EST
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2002-267.html

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