Bug 1036819 - [GSS] (6.2.x) Backport JacORB #904 CDRInputStream.read_string should handle 0 string size gracefully
Summary: [GSS] (6.2.x) Backport JacORB #904 CDRInputStream.read_string should handle ...
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: IIOP
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: CR3
: EAP 6.2.1
Assignee: Stefan Guilhen
QA Contact:
URL: https://c.na7.visual.force.com/apex/C...
Depends On: 1052237
Blocks: 1037716
TreeView+ depends on / blocked
Reported: 2013-12-02 16:53 UTC by Shaun Appleton
Modified: 2018-12-03 20:51 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The function CDRInputStream.read_string mishandles an empty string, incorrectly caculating this as a length of zero (0), resulting in a marshall exception. The handling of empty strings has been corrected so that CDRInputStream.read_string now returns an empty string, avoiding the error which occurred previously.
Clone Of:
: 1052237 (view as bug list)
Last Closed: 2014-02-24 20:16:10 UTC
Type: Bug

Attachments (Terms of Use)

Description Shaun Appleton 2013-12-02 16:53:23 UTC
Backport  http://www.jacorb.org/bugzilla/show_bug.cgi?id=904
to jacorb in EAP 6.1.1  ie to jacorb-2.3.2-redhat-4.jar

See similar bz for EAP 6.0.0 https://bugzilla.redhat.com/show_bug.cgi?id=1036044

Comment 1 Nick Cross 2013-12-03 17:02:32 UTC
Backpatched with SHA b1debdd79b07d10307fcacb6f4934ce9ed2d8958

Comment 3 Vaclav Tunka 2014-01-28 15:52:23 UTC
This should be solved by 1037716. @Nick can you please confirm?

Comment 4 Nick Cross 2014-01-28 22:53:56 UTC
Yes this should be.

Comment 5 Russell Dickenson 2014-02-03 05:15:48 UTC

As this ticket fixes a customer issue, it needs to be noted in the JBoss EAP 6.2.1 Release Notes document. After reading through the history of this and related tickets, I have drafted some text. Please review it and confirm whether or not it is accurate.

Comment 6 Nick Cross 2014-02-03 09:13:26 UTC
"A QoS was added to allow CDRInputStream.read_string to interoperate with those ORBs that do not encode empty strings correctly."

Comment 7 Nikoleta Hlavickova 2014-02-04 11:45:49 UTC
Verified with EAP 6.2.1.CP.CR3.1

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