Bug 1373 - Incorrect zero-copy optimizations for object keys
Summary: Incorrect zero-copy optimizations for object keys
Status: RESOLVED FIXED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.2.5
Hardware: All All
: P3 blocker
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks: 1277
  Show dependency tree
 
Reported: 2002-11-24 16:42 CST by Carlos O'Ryan
Modified: 2002-11-30 22:38 CST (History)
0 users

See Also:


Attachments
Fixes the bug by disabling zero-copy when not appropriate. (1.91 KB, patch)
2002-11-24 16:44 CST, Carlos O'Ryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos O'Ryan 2002-11-24 16:42:06 CST
The implementation of the CDR extration operator (>>) for object keys and other
"TAO_opaque" objects is incorrect.  More specifically, it does not take into
account if the source data is zero-copyable.
Comment 1 Carlos O'Ryan 2002-11-24 16:42:40 CST
This bug can result in crashes.  I will submit a patch, so there is no reason
not to get it fixed for 1.3
Comment 2 Carlos O'Ryan 2002-11-24 16:44:38 CST
Created attachment 163 [details]
Fixes the bug by disabling zero-copy when not appropriate.
Comment 3 Nanbor Wang 2002-11-24 21:46:31 CST
Sounds neat! Would you happen to have a test case for this? Please go ahead and 
check this in or let me know and I can check this in. 
Comment 4 Nanbor Wang 2002-11-30 22:38:26 CST
Fixed and here is the relevant ChangeLog entry 

Tue Nov 26 00:01:07 2002  Balachandran Natarajan  <bala@isis-server.isis.vanderb
ilt.edu>
Comment 5 Nanbor Wang 2002-11-30 22:38:55 CST
Forgot to mark it as fixed:(