Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 462662

Summary: SetAttribute does not check validity of attribute's name
Product: Red Hat Enterprise MRG Reporter: Matthew Farrellee <matt>
Component: gridAssignee: Matthew Farrellee <matt>
Status: CLOSED ERRATA QA Contact: Kim van der Riet <kim.vdriet>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: jneedle
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-07 18:42:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 463359    

Description Matthew Farrellee 2008-09-17 23:43:18 UTC
$ 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 18:42:27 UTC
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