Ticket #2660: % sign in hold message causes crash when writing xml user log

A % sign in the hold message causes the schedd to crash when writing an xml-formatted user-log.

This problem was recently fixed on master branch (7.7.5) as a byproduct of cleaning up compiler warnings (commit [28264]). It would be good to also fix this in the stable branch.

[Append remarks]

Remarks:

2011-Nov-28 10:37:27 by jfrey:
The patch looks good.
[Append remarks]

Properties:

Type: defect           Last Change: 2011-Nov-29 08:34
Status: resolved          Created: 2011-Nov-23 15:02
Fixed Version: v070605           Broken Version: v070300 
Priority:          Subsystem:  
Assigned To: danb           Derived From:  
Creator: danb  Rust:  
Customer Group: cms  Visibility: public 
Notify: tstclair@redhat.com  Due Date:  

Related Check-ins:

2011-Nov-29 12:41   Check-in [28481]: Edits to lots of 7.6.5 version history items. ===GT=== #2658 ===GT=== #2643 ===GT=== #2644 ===GT=== #2387 ===GT=== #2614 ===GT=== #2660 (By Karen Miller )
2011-Nov-23 16:12   Check-in [28430]: Documented fix for schedd crash on hold reasons containing '%' characters. ===GT=== #2660 ===VersionHistory:Complete=== (By Dan Bradley )
2011-Nov-23 15:47   Check-in [28429]: Fixed schedd crash when writing xml user-log with % sign in hold reason. #2660 (By Dan Bradley )