[omniORB] OmniORB GIOP Message padding

MICHEL Franck (SAGEM DEFENSE SECURITE) franck.michel at sagem.com
Wed Dec 14 18:58:30 GMT 2011


Hi Duncan,

Thank you for your reply.

After checking in the omniORB sources, we came up with a patch in "orbcore/giopStream.cc" which reset the content of the buffer that was just sent to the socket. 

As the "giopStream_Buffer" structure is constantly reused, padding shows content from previous requests which is not overwritten.

This is simple but it works. I known it is a borderline usage but some people from the mailing list stated it could help in some cases.
It does for us.

We can provide with the patch if you're interested.

Thanks,
Frank MICHEL

-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org] 
Sent: Wednesday, December 14, 2011 6:16 PM
To: MICHEL Franck (SAGEM DEFENSE SECURITE)
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] OmniORB GIOP Message padding

On Tue, 2011-12-13 at 10:42 +0100, MICHEL Franck (SAGEM DEFENSE
SECURITE) wrote:

[...]
> Due to the uinitialized padding, two replies for the same request are
> not binary identical.

> Have there been some progress : 
> 
> - compilation option defined or
> 
> - patch built (since 2005) or
> 
> - solution 

I'm not aware of anyone having done that. It's certainly not in the
mainstream omniORB release.

There are quite a few places that buffers are allocated, so clearing
buffers to ensure padding has known values is not a totally trivial
thing. It shouldn't be that hard to track all the places down, though.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --


#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#


More information about the omniORB-list mailing list