If XID contains some special characters, it can in result damage the message
Environment
- Red Hat Enterprise MRG 3.0
- QPID
Issue
Assume name of some entity (queue, session, XID global ID,..) contains \x00 character and broker wants to raise an exception (and send it over the wire to a client) due to whatever reason. Qpid exception text gets truncated if it would contain \x00 character.
Broker does so by truncating the exception string at the place of first occurrence of \x00 character, ignoring very informative part of the string (recall an error like "Queue "Wrong": qpid.flow_resume_count=11 must be less than qpid.flow_stop_count=10" being truncated within the queue name).
An exception text needs to contain whole string, ideally with human-unreadable characters replaced by \x values.
Resolution
This problem is currently being tracked in Bug 1151416
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
