bugCERTI - Bugs: bug #19685, Message::setValue with length >...

 
 

bug #19685: Message::setValue with length > MAX_BYTES_PER_VALUE fails

Submitted by:  Eric NOULARD <erk>
Submitted on:  Tue 24 Apr 2007 01:52:45 PM UTC  
 
Category: CERTISeverity: 4 - Important
Item Group: Software errorStatus: Fixed
Privacy: PublicAssigned to: Eric NOULARD <erk>
Open/Closed: ClosedRelease: 3.2.3
Reproducibility: Every TimeFixed Release: 3.3.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 24 Apr 2007 01:52:45 PM UTC, original submission:

In the current CERTI implement there exists
some constants definition which statically size
buffers.

When a user application request to add an Attribute Value
whose size exceed MAX_BYTES_PER_VALUE he ends up with
an RTIInternal error:

Message::setValue too high length = 128

128 is the requested length which is greater than 80
i.e. the current MAX_BYTES_PER_VALUE value.

The trouble is that this constant is fixed at compile time
so that if you want to set a greater you need to recompile
CERTI :((

I've pushed MAX_BYTES_PER_VALUE up to 150 and I will work
on a more "dynamic" solution which should hopefully avoid
recompilation.

Eric NOULARD <erk>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by erk (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Jul 2008 09:01:35 AM UTCerkStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseUnknown=>3.3.0
    Sat 24 May 2008 10:21:55 AM UTCerkDependencies-=>bugs #23329 is dependent
    Thu 25 Oct 2007 09:01:01 PM UTCerkDependencies-=>bugs #21399 is dependent
    Fri 04 May 2007 10:58:05 AM UTCerkFixed ReleaseNone=>Unknown
    Fri 04 May 2007 10:58:04 AM UTCerkReleaseNone=>3.2.3

    Back to the top


    Powered by Savane 3.1-cleanup1