Bug 462662 - SetAttribute does not check validity of attribute's name
SetAttribute does not check validity of attribute's name
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: grid (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matthew Farrellee
Kim van der Riet
:
Depends On:
Blocks: 463359
  Show dependency treegraph
 
Reported: 2008-09-17 19:43 EDT by Matthew Farrellee
Modified: 2008-10-07 14:42 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-07 14:42:27 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 Matthew Farrellee 2008-09-17 19:43:18 EDT
$ condor_qedit 1.0 A ABC
Set attribute "A".
$ condor_qedit 1.0 A.B ABC
Set attribute "A.B".
$ condor_qedit 1.0 A-B ABC
Set attribute "A-B".
$ condor_q -l | grep ABC   
A = ABC
A.B = ABC
$ grep "ABC" spool/job_queue.log 
103 1.0 A ABC
103 1.0 A.B ABC
103 1.0 A-B ABC
$ condor_qedit 1.0 A@B CBA
Set attribute "A@B".
$ condor_q -l | grep CBA
$ grep "CBA" spool/job_queue.log
103 1.0 A@B CBA

The functions used to set attributes do not check the validity of an attribute's name, but the functions to lookup, effectively, do.
Comment 4 errata-xmlrpc 2008-10-07 14:42:27 EDT
An advisory 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 therefore 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/RHSA-2008-0911.html

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